Xcode7 (Xcode setting ENABLE_BITCODE)

升級Xcode7 編譯報錯ui

ld: 'Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analytics_no-idfa_v3.5.11/UMAnalytics_Sdk_3.5.11/libMobClickLibrary.a(UMWorkDispatch.o)' 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 armv7this


從上述的錯誤中應該能夠看出,這是由於一個第三方的庫不兼容,個人工程中開啓了 ENABLE_BITCODE (應該是升級以後自動轉換的),而這個第三方的庫在編譯的時候沒有 enable bitcode,因此致使上訴問題。spa



解決方案1.升級相應的podfile Versions  code

e.g. pod search UMengAnalyticsorm


解決方案2.將工程的 ENABLE_BITCODE 設置爲 NO get

pods 能夠具體設置哪一個targets
it


相關文章
相關標籤/搜索