美文网首页
iOS:Cannot use '@try' with Objec

iOS:Cannot use '@try' with Objec

作者: Lee坚武 | 来源:发表于2021-01-26 14:15 被阅读0次

bug问题显示:

Cannot use '@try' with Objective-C exceptions disabled

解决办法:

Build Settings -> Apple LLVM 9.0 - Language - Objective C -> Enable Objective-C Exceptions


image.png

改为yes即可,然后可以编译通过
为:Yes 即可。

相关文章

网友评论

      本文标题:iOS:Cannot use '@try' with Objec

      本文链接:https://www.haomeiwen.com/subject/jpugzktx.html