My Xcode cannot po
anything suddenly.
For example:
po param
error: expression failed to parse:
error: Couldn't realize type of self.
Every time I use po
to print something in the console, it will show the errors above. This started happening one month ago.
4
Answers
well, you could click right button and choose "print..." at console.
I know this does not fix the problem, but meanwhile you can use
v param
to achieve the expected result.https://stackoverflow.com/a/60064468/2347811
Here is easy solution:
Change
Debug information Format
forDebug
to "DWARF
" inBuild Settings
. It should be done for bothTARGETS
ANDPROJECT
.Change it back to "
DWARF with DSYM File
" when upload application on Appstore.for my case i just changed build configuration to debug build mode .
edit scheme -> Run -> info -> build configuration -> select Debug