折腾:
【未解决】Mac中XCode如何编译WebDriverAgent.xcodeproj
期间,点击编译,结果报错
点击红色x,看到错误详情:
Signing for "IntegrationApp" requires a development team. Select a development team in the Signing & Capabilities editor. Showing All Messages Signing for "IntegrationApp" requires a development team. Select a development team in the Signing & Capabilities editor.
去看了下,找到了:
是WebDriverAgentRunner中,没有signing
所以去操作
同样,切换选择一个自己的账号
结果报错:
【已解决】XCode中WebDriverAgent.xcodeproj自动签名报错:Failed to register bundle identifier com.facebook.WebDriverAgentRunner
继续,发现此处要编译的app搞错了
去改为:
WebDriverAgentRunner
至少没警告和错误了。
去点击编译
开始真正编译了。
【总结】
此处XCode中编译报错:
Signing for "IntegrationApp" requires a development team. Select a development team in the Signing & Capabilities editor.
原因:
本身要编译的app搞错了。
所以去从IntegrationApp改为真正要的:WebDriverAgentRunner
另外,需要去给WebDriverAgentRunner加上code signing
此处是通过给Team从None改为自己的值,然后自动修复,一般即可修复成功,加上code signing。
其中如果报错:
Failed to register bundle identifier The app identifier "com.facebook.WebDriverAgentRunner" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.
则去修改bundle id:
WebDriverAgentRunner的属性-》Build Settings-》Packaging-》Product Bundle Identifier
即可。
转载请注明:在路上 » 【已解决】Mac中XCode中WebDriverAgent编译报错:Signing for IntegrationApp requires a development team