开发者

problem with link-time optimization in Xcode

开发者 https://www.devze.com 2022-12-23 18:24 出处:网络
Should I turn on \"Generate Debug Symbols\" in Xcode for release configuration? When it and \"Link T开发者_Python百科ime Optimization\" are turned on Xcode show warning:

Should I turn on "Generate Debug Symbols" in Xcode for release configuration? When it and "Link T开发者_Python百科ime Optimization" are turned on Xcode show warning:

GenerateDSYMFile build/Release/cocoa_tutorial5.app.dSYM build/Release/cocoa_tutorial5.app/Contents/MacOS/cocoa_tutorial5 cd /Users/ariel/Documents/spacesimulator.net/cocoa_tutorial5 /Developer/usr/bin/dsymutil /Users/ariel/Documents/spacesimulator.net/cocoa_tutorial5/build/Release/cocoa_tutorial5.app/Contents/MacOS/cocoa_tutorial5 -o /Users/ariel/Documents/spacesimulator.net/cocoa_tutorial5/build/Release/cocoa_tutorial5.app.dSYM

warning: no debug symbols in executable (-arch x86_64)

warning: no debug symbols in executable (-arch i386)

warning: no debug symbols in executable (-arch ppc7400)


Link time optimization and debug information do not currently work together (as of Xcode 3.2, the debug symbols are stripped before they even reach the final executable) in LLVM.

UPDATED

Link time optimization and debug information (DWARF or DWARF with dSYM files) work together in Xcode 5 or later.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号