I am trying to integrate unity to iOS application. I have followed this tutorial http://www.agnosticdev.com/blog-entry/swift/integrating-unity-and-vuforia-ios-swift-project
Now after integrating when i start my app it crashes and show this error on console : was compiled with optimization - stepping may behave oddly; variables may not be available.
I have tried googling this and found these links :
- APPNAME was compiled with optimization - stepping may behave oddly; variables may not be available
- 'Project Name' was compiled with optimization - stepping may behave oddly; variables may not be available
- Xcode target compiled with optimization
- Xcode: Cannot set optimization level for debug
and nothing changed.
I have changed optimization level of both project and pod. I have also added this line to pod file : project 'MyProject', 'Debug - local'=>:debug, 'Debug - staging'=>:debug, 'Debug - PRODUCTION'=>:debug
( before target 'projectname' do)
Also I have unchecked Strip Engine Code in unity.
What can i do to overcome this error ? Any help would be appreciated, thanks.
0 comments:
Post a Comment