Xcode Difference between debug and release

后端 未结 2 937
迷失自我
迷失自我 2020-12-24 12:42

What are the differences between debug and release builds for a Cocoa application? I know the debug version contains additional information for debugging but what else is di

2条回答
  •  渐次进展
    2020-12-24 13:22

    The release version is more optimized for better performance and smaller size.

    Also from personal practice I can say that it's useful to turn on more warnings in release configuration to know which methods are not used, which methods don't have declaration where signed/unsigned are being compared as well as other useful stuff.

提交回复
热议问题