ios xcode error: use of '@import' when modules are disabled
error: use of '@import' when modules are disabled
Modules are enabled by default in new projects in Xcode 5. To enable them in an older project, go into your project build settings, search for "Modules" and set "Enable Modules" to "YES". The "Link Frameworks" should be "YES" too:
Cannot use '@try' with Objective-C exceptions disabled
Xcode打包提示:
Cannot use '@try' with Objective-C exceptions disabled
解决方法:
修改target -> build settings -> All | Combined -> Apple LLVM Compiler 4.2 - Language 中 Enable Objective-C Exceptions为YES