我已經整合了openssl使用cocoa pod的庫在我的項目中。它在xcode 7.1,模擬器7.0及以上版本中工作正常。 但是,當我試圖在物理iOS設備安裝,獲取下面提到的問題:禁用位代碼後iOS 9及更高版本的鏈接器錯誤
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 clang: error: linker command failed with exit code 1 (use -v to see invocation)
建立使bitocde爲NO,我可以能夠運行在iOS的7/8設備的項目。
但是,雖然我試圖在iOS 9或更高版本的設備上運行我的應用程序,但我從添加到項目的依賴項中收到了多個錯誤。
先感謝您的任何建議。
您是否試過手動將該lib添加到您的項目中? – Tj3n
您是否更新過我們的庫以啓用一次位碼?就像錯誤信息中所述。 – rckoenes
@ Tj3n我手動添加了lib文件,但我得到了庫路徑錯誤,這就是爲什麼我使用豆莢。 –