导入SDCycleScrollView,遇到Cannot use '@try' with Objective-C exceptions disabled

原因是Unity导入iOS会遇到以下问题:不支持@try 或@throw。
在修改target -> build settings -> All | Combined -> Apple LLVM Compiler 8.1 - Language -Objective-C 中 Enable Objective-C Exceptions 为YES


导入SDCycleScrollView,遇到Cannot use '@try' with Objective-C exceptions disabled_第1张图片
设置Enable Objective-C Exceptions.png

你可能感兴趣的:(导入SDCycleScrollView,遇到Cannot use '@try' with Objective-C exceptions disabled)