Code signing "com.xxx" failed.

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

然后提示输入密码,输入密码,问题解决!

    原文作者:毛毛虫惊碎花容
    原文地址: https://www.jianshu.com/p/d1f901a6a330
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞