ios webdriveragent 配置企业证书

发布于 2023-12-21  767 次阅读


创建ios证书请参考https://developer.aliyun.com/article/927799,证书生成完后长这样,制作证书时需要保证id唯一

同时需要确认本地mac钥匙串,是否安装成功开发者证书

本地开发者证书未安装会报

No signing certificate "iOS Development" found
No "iOS Development" signing certificate matching team ID "xxxxxxxxxx" with a private key was found

配置webdriveragent

  • macOS 14.2
  • xcode 15.1
  • appium webdriveragent master 分支最新代码

1.修改WebDriverAgent->WebDriverAgentRunner->info

修改为自己企业的bundle id

2.WebDriverAgent->WebDriverAgentRunner -> Info -> Bundle Identifier

修改为自己企业的bundle id

3.清空原bundleid

WebDriverAgent -> WebDriverAgentRunner -> Build Settings -> Packing -> Product Bundle Identifier

清空bundle id

4.导入证书

重新运行后,手机上生成bundle id 为.xctrunner的应用

如tidevice -u xxxxxxxx wdaproxy -B .xctrunner --port 8100 启动报错,需更新tidevice

pip3 install -U tidevice


一名测试工作者,专注接口测试、自动化测试、性能测试、Python技术。