常规错误网上有很多解决办法,但我的这个报错均不管用,以下是报错信息
ld: object contains invalid bitcode: (gt_unzip.o) for architecture arm64
clang :linker command failed with exit code 1
解决办法:
1.将 Scheme 的 Run 模式改为 Release,或者将 Build Active Architecture Only 的 Debug 子项值改为 No
2.还有一个问题就是第三方不支持bitcode,或者支持的不好,关闭bitcode即可。