简体   繁体   中英

Xcode and Generate Debug Symbols

Which setting in Project Settings page needs to be set in order for Xcode to generate debug symbols for a project?

If I set 'Generate Profiling Code" to checked, as soon as I try to build, I get the error,

cc1obj: error: unrecognised debug output level "-full"

If not, the other way to do this I thought was by setting the 'OTHER_CFLAGS' value to '-g' but it also yields the same error.

Under your compiler's settings group ("ie GCC 4.2 - Code Generation") there's a setting called "Generate Debug Symbols".

You can get an overview of probably all debug-related settings just by typing "debug" in the search box.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM