Reputation: 1572
When i put debug point in project i get this one error
App Name was compiled with optimization - stepping may behave oddly; variables may not be available.
And Also i don't get debug point and xcode not print any log.
If anyone know solution please share.
Upvotes: 7
Views: 19096
Reputation: 1
I had the same issue and I solve it adding to Apple LLVM - Custom Compiler Flags:
Other C Flags: -DRUNTIME_IL2CPP=1
Upvotes: -2
Reputation: 27620
You are receiving this message because you set your target's optimization level to one of the Fast
options.
Set the Optimization Level to None
while debugging to make the message go away and your break points behave normally:
Upvotes: 14