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"

doc

    原文作者:codecraft
    原文地址: https://segmentfault.com/a/1190000008596374
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞