Jenkins自動(dòng)打包遇到的問題

1. User interaction is not allowed.Command /usr/bin/codesign failed with exit code 1

1.因?yàn)橛兄貜?fù)的證書,在鑰匙串中把多余的證書或者mobileprovision描述文件都刪除掉



2.證書沒有訪問權(quán)限



2. error: Specified application doesn't exist or isn't a bundle directory : './JDZTC.build/Release-iphoneos/JDZTC.app'

Build step 'Execute shell' marked build as failure
*因?yàn)閷?dǎo)出的app文件路徑不正確

3. Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “58b5f909-98fa-4e04-99d3-743200a6141d”, however, no such provisioning profile was found.

1.找不到mobileprovision描述文件,確定安裝mobileprovision描述文件
2.找到你用戶下的Provisioning Profiles 文件。目錄為 /Users/xxx/Library/MobileDevice/Provisioning Profiles xxx表示你自己的用戶名
把這里面所有的證書復(fù)制到/Users/Shared/Jenkins/Library/MobileDevice/Provisioning Profile 這個(gè)文件

4. 3BF12BD34F76025E4306116E6C1F4D2899288C9E: no identity found Command /usr/bin/codesign failed with exit code 1

  1. 證書找不到,看看鑰匙串-系統(tǒng)-是不是沒有3BF12BD34F76025E4306116E6C1F4D2899288C9E證書,沒有的話就復(fù)制進(jìn)去
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容