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 arm64
這類(lèi)錯(cuò)誤是項(xiàng)目中使用的某個(gè)庫(kù)不支持bitCode
唉擂,解決方法
Paste_Image.png
設(shè)置為no即可详瑞。
關(guān)于Bitcode的官方文檔
Bitcode (iOS, watchOS)
Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.
Xcode hides symbols generated during build time by default, so they are not readable by Apple. Only if you choose to include symbols when uploading your app to iTunes Connect would the symbols be sent to Apple. You must include symbols to receive crash reports from Apple.
Note: For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.
Bitcode 是編譯的應(yīng)用程序的中間一種形式.你提交到AppStore上的應(yīng)用程序包含的bitcode會(huì)在AppStore上被編譯和鏈接.在未來(lái)包含bitcode的應(yīng)用程序,會(huì)讓Apple重新優(yōu)化你的二進(jìn)制文件而不需要重新提交新的版本.意思就是加入蘋(píng)果會(huì)更換硬件架構(gòu)(CPU之類(lèi)的).開(kāi)發(fā)者也不需要再根據(jù)不同的平臺(tái)開(kāi)發(fā)新的軟件.Xcode在編譯時(shí)默認(rèn)是隱藏symbols的.所以Apple拿不到symbols.只有在你提交APP 到 iTunes Connect時(shí)選擇了提交symbols.Apple才會(huì)拿到程序的symbols.如果你想要收到Apple的crash 報(bào)告的話(huà).必須要把symbols提交上去.
注意: iOS APP,bitcode是默認(rèn)的.但是不是必須的.但是你如果支持bitcode的話(huà),那么應(yīng)用中的的app和frameworks都必須包含bitcode.對(duì)watchOS app來(lái)說(shuō),bitcode是必須的.
總的來(lái)說(shuō),bitcode是一種介于LLVM編譯器和編程語(yǔ)言的一種中間態(tài).雖然bitcode不能在任何平臺(tái)上運(yùn)行,但是它可以轉(zhuǎn)換成任何所支持的CPU架構(gòu)