skip to Main Content

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


  1. Chosen as BEST ANSWER

    well, you could click right button and choose "print..." at console.


  2. 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

    Login or Signup to reply.
  3. Here is easy solution:
    Change Debug information Format for Debug to "DWARF" in Build Settings. It should be done for both TARGETS AND PROJECT.
    enter image description here

    Change it back to "DWARF with DSYM File" when upload application on Appstore.

    Login or Signup to reply.
  4. for my case i just changed build configuration to debug build mode .

    edit scheme -> Run -> info -> build configuration -> select Debug

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search