[解决问题]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就好了

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容