Xcode C ++: creating in Debug but not release

I am coding in Xcode 6, C ++. I can create and run my program perfectly in debugging, but somehow I can not compile it in Release mode. I see an error: Apple LLVM 6.0 error Reading profile error: there is no such file or directory

I really don't know what this means ... (I still get this after shrinking the main.cpp file to the regular Hello World program)

I tried, as suggested in Xcode, based on Debug, but not on the version to clear my project, close it, close Xcode reboot and rebuild or even remove Derived Data, but I still have the same problem.

Does anyone know how to fix this?

Many thanks

T

+4
source share
1 answer

I found out the answer to my question. You must specify: "Use optimization profile" in false

+6
source

All Articles