1.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

2.发布上传程序报错

解决

3.打包时报错
could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1316.0.21.2.3_0' Reader: '1300.0.29.30_0')', using libLTO version 'LLVM version 13.0.0, (clang-1300.0.29.30)' for architecture arm64
解决 Enable Bitcode 改成NO

网友评论