BuildSettings下
Deployment-> Deployment Postprocessing ->NO
Skip Install ->No
Strip Debug Symbols During Copy -> Release ->YES
Strip Linked Product -> Release ->YES
Strip Style -> Release -> Non-Global -> Symbols
Apple LLVM Code Generation -> Debug Information Level -> Line tables only
Optimization Level -> Release -> Fastest,Smallest
Symbols Hidden by Default Release -> YES
Make Strings Read-Only ->YES
Apple LLVM Language - Objc -> Enable Objective-c Exceptions -> NO
- C++ -> Enable C++ Exceptions -> NO
Other C Flags添加-fno-exceptions
以上可能会导致异常 捕获不了 之间Crash
网友评论