簡體   English   中英

從jenkins構建xcode項目失敗。 在命令行中構建運行時運行正常。 為什么?

[英]building xcode project from jenkins fails. when building in command line runs just fine. why?

從jenkins構建xcode項目失敗。 在命令行中構建運行時運行正常。 為什么? 這是我得到的錯誤:

[BEROR]Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “_UUID_”, however, no such provisioning profile was found.
[BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

這是使用的命令行:xcodebuild -project PROJECTNAME .xcodeproj / -target TARGETNAME -configuration Release -sdk iphoneos7.1 clean build

ps:任何有OBJECT的東西都被審查,所以這個問題可以在網上出現,之前有真實的數據。

您是使用登錄密鑰鏈還是為jenkins構建應用程序簽名創建了不同的密鑰鏈?

如果您只是使用登錄密鑰鏈,請確保在構建期間解鎖密鑰鏈。
如果您使用不同的密鑰鏈,請確保交換密鑰鏈然后解鎖。

Jenkins - Xcode構建工程代碼簽名失敗 - 這個帖子非常有用。

將這兩個命令添加到構建中可以幫助您調試它:

/usr/bin/security list-keychains
/usr/bin/security find-identity

暫無
暫無

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

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