iOS Bitcode的介紹及解決

2022-08-29 08:27:11 字數 727 閱讀 6644

開啟xcode ,執行錯誤提示 某乙個第三方庫不包含bitcode?  bitcode?是什麼,以前沒有注意過。

而在what』s new in xcode-new features in xcode 7中,還有一段如下的描述:

bitcode配置

在上面的錯誤提示中,提到了如何處理我們遇到的問題:

you must rebuild it with bitcode enabled(xcode setting enable_bitcode), obtain an updated library from the vendor, ordisable bitcode for this target. for architecture arm64

你必須重建它啟用了bitcode(xcode設定enable_bitcode),從**商獲得乙個更新的庫,ordisable bitcode這個目標。建築arm64

現在有兩種解決方式:

1.讓第三方庫支援bitcode,

2.關閉target的bitcode選項。我現在所使用的方法就是將bitcode關閉

在xcode 7以後,我們新建乙個ios程式時,bitcode選項預設是設定為yes的。我們可以在」build settings」->」enable bitcode」選項中看到這個設定

將enable bitcode預設的yes 選項改成no 就行了

希望對遇到類似問題朋友有所幫助

希望朋友們提出更好的解決辦法 

關於redis快取雪崩,穿透,擊穿的介紹及解決方案

場景 同一時間大面積的redis key失效,導致所有的請求打到資料庫上 解決辦法 原理 不要讓redis key同時失效 場景 在大量請求下,某熱點key突然失效,導致所有請求都打到資料庫上 解決辦法 場景 惡意攻擊者專門訪問資料庫中不存在的資料,導致穿過redis直接打到資料庫上 如 id 1的...

Spark Accumulator 陷阱及解決辦法

accumulator簡介 accumulator是spark提供的累加器,顧名思義,該變數只能夠增加。只有driver能獲取到accumulator的值 使用value方法 task只能對其做增加操作 使用 你也可以在為accumulator命名 不支援python 這樣就會在spark web ...

load data inpath出錯原因及解決方法

hive load data inpath hdfs into table person1 failed semanticexception error 10028 line 1 17 path is not legal hdfs move from hdfs to hdfs is not vali...