ios打包報錯:User interaction is not allowed

問題

ios命令行打包sign報錯ios

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

解決

在打包shell腳本加入shell

security unlock-keychain "-p" "your-password" "/Users/youraccount/Library/Keychains/login.keychain"

doc

相關文章
相關標籤/搜索