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

相关文章
相关标签/搜索