Go to the Chase
Open Terminal Input Three command:
1. Touch ~/.lldbinit
2. Echo Display @import UIKit >> ~/.lldbinit
3. Echo Target stop-hook add-o \ "target Stop-hook disable\" >> ~/.lldbinit
Don't have any prompts after the command has been lost? Well, congratulations on your success! Then, the most critical step is that ...
Rerun the project (no need to restart Xcode), see ~ ~
Rerun the project (no need to restart Xcode), see ~ ~
It means success.
So now we continue to enter PO self.view.frame in the console
It worked! If the PO instruction is an ID type, it can also print normally. Does it feel much more convenient? Anyway, I think so. As for any use, look at personal needs. ~~!
How do I delete it?
OK, so the problem comes, I use the command to create, if you do not want to play what to do, Nikki?
In fact, very simple answer, see the first command touch ~/.lldbinit, is to create a hidden file in the root directory. Lldbinit, and then delete this file is done.
Open the terminal and then, in the terminal, enter: RM ~/.lldbinit command.
iOS Xcode how to print a frame in the console