微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

构建WebDriverAgent时报错“xxx: no identity found Command CodeSign failed with a nonzero exit code”解决办法

问题:Build target IntegrationApp of project WebDriverAgent with configuration Debug

CodeSign /Users/xxx/Library/Developer/Xcode/DerivedData/WebDriverAgent-frppimqqssqlskezbngfqfcrutsr/Build/Products/Debug-iphoneos/IntegrationApp.app (in target 'IntegrationApp' from project 'WebDriverAgent')

    cd /xxx/WebDriverAgent-master

    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity:     "Apple Development: [email protected] (xxx)"

Provisioning Profile: "iOS Team Provisioning Profile: com.xx.IntegrationApp"

                      (x x x-x x x-x x x-x x x-x x x)

    /usr/bin/codesign --force --sign xxx--entitlements /Users/xxx/Library/Developer/Xcode/DerivedData/WebDriverAgent-frppimqqssqlskezbngfqfcrutsr/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/IntegrationApp.build/IntegrationApp.app.xcent --timestamp=none /Users/xxx/Library/Developer/Xcode/DerivedData/WebDriverAgent-frppimqqssqlskezbngfqfcrutsr/Build/Products/Debug-iphoneos/IntegrationApp.app

 

 

 

解决:Xcode > Preferences > Accounts > View Details ,下载刷新Provisioning Profile 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐