模拟器上可以跑的起来,真机调试的时候出现错误信息:
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.
从上述的错误中应该可以看出,这是因为一个第三方的库不兼容,我的工程中开启了 ENABLE_BITCODE (xcodes升级7.0之后自动转换的),而这个第三方的库在编译的时候没有 enable bitcode,所以导致上诉问题。
解决办法:
一种就是换成 enable bitcode 的第三方库,
再有一种就是将工程的 ENABLE_BITCODE 设置为 no 就可以了。
因为我这里不太方便换库,所以,就把工程的设置给改了一下。
具体操作方法如下:
操作方法

上面解决方法是把工程的设置给改了,但是改了之后有什么影响现在还没有发现。
网友评论