ios jenkins 打包问题

来源:互联网 发布:betterzip mac免费版 编辑:程序博客网 时间:2024/06/08 10:30

Q:user interaction is not allowed

A:参考http://stackoverflow.com/questions/20205162/user-interaction-is-not-allowed-trying-to-sign-an-osx-app-using-codesign

因为苹果安全原因,默认不允许ssh登录读取keychain

有两种解决方法,1、设置秘钥的访问权限

2、在shell脚本中添加

security -v list-keychains -s "$KEYCHAIN" "$HOME/Library/Keychains/login.keychain"security list-keychains # so we can verify that it was added if it fails againsecurity -v unlock-keychain -p "密码" "<span style="font-family: Arial, Helvetica, sans-serif;">$HOME/Library/Keychains/login.keychain</span><span style="font-family: Arial, Helvetica, sans-serif;">"</span>codesign --sign "$SIGNER_IDENTITY" --force --signature-size 9600 \         --resource-rules src/AppResourceRules.plist --timestamp --verbose \         "$APP"


Q:hudson.plugins.git.GitException: Command "git submodule update --init --recursive" returned status code 1:

A:重新设置代理,google等可以正常访问


0 0
原创粉丝点击