I have upgraded to Xcode 5.0. And when I run an app in debug mode and try to print an NSString
value in console, it gives me the below error. Any ideas?
The reason is stated in the error message: it may have been optimized out.. this means that you are compiling and running your code in an optimized manner.
you gotta change your compiler optimization level from Fastest,Smallest
to none
:
do the same for your project settings