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 again
security -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等可以正常访问
本文探讨了在苹果安全环境下解决SSH登录读取keychain和使用codesign进行代码签名时遇到的问题,提供了两种解决方案:设置秘钥访问权限和在shell脚本中添加特定命令。同时,提供了解决Git submodule更新失败的方法。
1097

被折叠的 条评论
为什么被折叠?



