问题:Provisioning profile "iOS Team Provisioning Profile: com.jiejing.WebDriverAgentRunner" doesn't match the entitlements file's value for the get-task-allow entitlement.

这个问题我搞了一下午也没有通过免费的apple Id搞出来,最后我只能求助ios开发人员将我的apple Id添加入公司的ios开发群组,然后像我第一篇appium:https://blog.csdn.net/Chenftli/article/details/88354609中的第四步,用Xcode打开WebDriverAgent中的WebDriverAgent.xcodeproj, 然后将WebDriverAgent和WebDriverAgentLib和WebDriverAgentRunner的Bundle identifier改为你公司app的bunleid就可以了,然后将Team改为你团队开发者就好了。

报错:Provisioning profile "iOS Team Provisioning Profile: doesn't match the entitlements file's

最后测试一下:

xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<udid>' test

 出现下图就说明代码签名配置成功了:

Test Suite 'All tests' started at 2019-03-16 16:37:33.795
Test Suite 'WebDriverAgentRunner.xctest' started at 2019-03-16 16:37:33.801
Test Suite 'UITestingUITests' started at 2019-03-16 16:37:33.807
Test Case '-[UITestingUITests testRunner]' started.
    t =  0.04s Start Test at 2019-03-16 16:37:33.899
    t =  0.12s Set Up

 

相关文章:

  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2021-08-28
  • 2022-12-23
  • 2021-04-02
猜你喜欢
  • 2021-09-03
  • 2021-10-23
  • 2022-12-23
  • 2021-11-18
  • 2021-09-09
  • 2021-09-30
  • 2022-01-03
相关资源
相似解决方案