Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Console "po" error: expression failed to parse

Tags:

xcode

ios

swift

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.

like image 273
malcopolocei Avatar asked Feb 14 '26 00:02

malcopolocei


2 Answers

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

like image 172
Javi Avatar answered Feb 16 '26 14:02

Javi


for my case i just changed build configuration to debug build mode .

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

like image 28
nawaf Avatar answered Feb 16 '26 14:02

nawaf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!