ios打包报错:User interaction is not allowed
问题
ios命令行打包sign报错
User interaction is not allowed.
Command /usr/bin/codesign failed with exit code 1
解决
在打包shell脚本加入
security unlock-keychain "-p" "your-password" "/Users/youraccount/Library/Keychains/login.keychain"