簡體   English   中英

WebRTC' 不包含 bitcode 您必須在啟用 bitcode 的情況下重建它(Xcode 設置 ENABLE_BITCODE)

[英]WebRTC' does not contain bitcode You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

當我運行時,我的應用程序在模擬器上運行: npx react-native run-ios

但是,當我嘗試通過 .xcworkspace 通過“存檔”獲取 ipa 文件時,出現以下有關 WebRTC 和位碼的錯誤。

如何解決這個問題?

ld:'/Users/bliss/Library/Developer/Xcode/DerivedData/DanceConnectyCube-czcpkmpwkpsbethjfvbfindeabwg/Build/Intermediates.noindex/ArchiveIntermediates/DanceConnectyCube/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/WebRTCrtcframe-czcpkmpwkpsbethjfvbfindeabwg/不包含位碼。 您必須在啟用位碼的情況下重建它(Xcode 設置 ENABLE_BITCODE),從供應商處獲取更新的庫,或為此目標禁用位碼。 文件'/Users/bliss/Library/Developer/Xcode/DerivedData/DanceConnectyCube-czcpkmpwkpsbethjfvbfindeabwg/Build/Intermediates.noindex/ArchiveIntermediates/DanceConnectyCube/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/reactcrt/frameworkC'架構 arm64 clang:錯誤:鏈接器命令失敗,退出代碼為 1(使用 -v 查看調用)

您需要在 xcode target->build settings-> enable bitcode刪除 ios 項目設置中的target->build settings-> enable bitcode或使用在編譯時啟用它的自定義 webrtc 構建(大型構建)。 我在這里做了一個

對於那些帶着同樣錯誤來到這里的人:

如果您嘗試在 iPhone 中調試您的應用程序,您必須選擇 bitcode=no 才能工作。

在此處輸入圖片說明

相關文章: WebRTC' 不包含 bitcode 您必須在啟用 bitcode 的情況下重建它(Xcode 設置 ENABLE_BITCODE)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM