日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

發(fā)布時(shí)間:2024/4/14 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

?這有一篇不錯(cuò)的文章關(guān)于 bitcode 的文章? iOS中Bitcode的介紹及配置(http://www.jianshu.com/p/3e1b4e2d06c6)

還有一篇文章可以解決類似錯(cuò)誤,但是有待我自己驗(yàn)證(http://www.jianshu.com/p/fe4b3a981618)

Xcode 7 運(yùn)行項(xiàng)目報(bào)錯(cuò):

?

錯(cuò)誤1. ?Undefined symbols for architecture armv7:

?

? "_compress2", referenced from:

?

? ? ? +[UMANDeflated deflatedDataPrefixedWith:level:source:] in libMobClickLibrary.a(UMDeflated.o)

?

ld: symbol(s) not found for architecture armv7

?

clang: error: linker command failed with exit code 1 (use -v to see invocation)

?

?

?

錯(cuò)誤2. ? *** does not contain 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. for architecture armv7

由于Xcode自身的一些小問 題,運(yùn)行項(xiàng)目時(shí)一直報(bào)錯(cuò) 錯(cuò)誤1的內(nèi)容.然后我就檢查項(xiàng)目友盟這個(gè)庫的依賴呀.非常肯定的確認(rèn)庫已經(jīng)導(dǎo)入而且在鏈接的二進(jìn)制庫里面.(就是build phases里面).然后就不斷的重新導(dǎo)入clean了好多次還是不行.然后我就崩潰了.. ?后來把Xcode重啟再次運(yùn)行真正的錯(cuò)誤終于浮出水面(畢竟Xcode是beta版).就是錯(cuò)誤2的內(nèi)容.原來是友盟的二進(jìn)制庫不支持bitcode. 而Xcode默認(rèn)是要支持bitcode的,而且如果支持的話,其中所有的二進(jìn)制庫和framework都必須包含bitcode.至于什么是 bitcode,請看這里:?http://blog.csdn.net/soindy/article/details/48518717

解決方法:

轉(zhuǎn)載于:https://www.cnblogs.com/shiguangji728/p/4969208.html

總結(jié)

以上是生活随笔為你收集整理的You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。