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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

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

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

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

Xcode 7 運行項目報錯:

?

錯誤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)

?

?

?

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

解決方法:

轉載于:https://www.cnblogs.com/shiguangji728/p/4969208.html

總結

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

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。