You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)


以前的項目 放到Xcode7中運行時可能會遇到以下錯誤:You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)

未來Watch應用須包含Bitcode,iOS不強制,但Xcode7默認會開啟Bitcode。

如何適配?

方法一:更新library使包含Bitcode,否則會出現以下中的警告;

1
( null ): URGENT: all bitcode will be dropped because  '/Users/myname/Library/Mobile Documents/com~apple~CloudDocs/foldername/appname/GoogleMobileAds.framework/GoogleMobileAds(GADSlot+AdEvents.o)'  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.

方法二:關閉Bitcode

工程設置中 buildingsetting 中搜索bitcode 選擇no

 

解決問題!!!!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM