Xcode7 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

 

解決問題!!!!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章