IOS9 xcode7 You must rebuild it with bitcode enabled
生活随笔
收集整理的這篇文章主要介紹了
IOS9 xcode7 You must rebuild it with bitcode enabled
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
以前的項目 放到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
?
解決問題!!!!
總結
以上是生活随笔為你收集整理的IOS9 xcode7 You must rebuild it with bitcode enabled的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: UCLA-(R Graphics: In
- 下一篇: 【机器学习】机器学习之线性判别分析(LD