ssh登录服务器(mac)打包时必须请求keychain权限
xcodebuild883:19807766 IDEDistribution: Step failed: <IDEDistributionPackagingStep: 0x7f9330f59fc0>: Error Domain=IDEDistributionPipelineErrorDomain Code=0 “Code signing “com.xxx” failed.” UserInfo={NSLocalizedDescription=Code signing “com.xxx” failed., NSLocalizedRecoverySuggestion=View distribution logs for more information.} error: exportArchive: Code signing “com.xxx” failed.
Error Domain=IDEDistributionPipelineErrorDomain Code=0 “Code signing “com.xxx” failed.” UserInfo={NSLocalizedDescription=Code signing “com.xxx” failed., NSLocalizedRecoverySuggestion=View distribution logs for more information.}
解决办法
security unlock-keychain
然后提示输入密码,输入密码,问题解决!