ios sign errSecInternalComponent

问题
编译时遇到报错

sudo /usr/bin/codesign --force --sign F33A0632A04A5AD11BF62573B8BE21EB01D04AD0 --timestamp=none --preserve-metadata=identifier,entitlements,flags /Users/xxx/Library/Developer/Xcode/DerivedData/WebDriverAgent-bteodnsegntsubfevdbooakbmwrw/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework
Password:
Warning: unable to build chain to self-signed root for signer "Apple Development: xxx (xxxx)"
/Users/xxx/Library/Developer/Xcode/DerivedData/WebDriverAgent-bteodnsegntsubfevdbooakbmwrw/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/RoutingHTTPServer.framework: errSecInternalComponent

解决

打开 🔑钥匙串访问 检查,开发者证书是否是可信的,如果显示不可信,则下载证书安装
https://developer.apple.com/support/expiration/

Download the renewed certificate and follow the instructions below.

发表评论