[解决问题]You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

因为项目中有语音识别的功能,引用了讯飞的第三方框架,模拟器运行正常,但是真机下提示(null): URGENT: all bitcode will be dropped because ‘xxxx’ was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. Note: This will be an error in the future.

问题分析:这是因为第三方库不兼容,因为我们的工程的ENBLE_GITCODE默认是yes,而这个第三方的库在编译的时候没有 enable bitcode,所以导致上诉问题

问题截图

解决办法:把ENABLE_BITCODE的值改为no就好了

[解决问题]You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)_第1张图片

现在去编译,肯定没问题的。

你可能感兴趣的:([解决问题]You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE))