ios证书

准备工作:

从开发处拿到两个文件:一个.p12文件,一个.mobileprovision文件

一、

 双击.p12文件,会发现在【钥匙串访问】中多了一个iPhone develper,如下图所示: 

二、找到webdriverAgent

1. 常规方法:

1.1 命令行模式位置
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
1.2 GUI安装位置
Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

2. 其它方法:

2.1 找到appium 的安装位置:
  which appium
  /path/where/installed/bin/appium
2.2
根据安装位置 /path/where/installed/ bin/appium,
WebDriverAgent的位置为/path/where/installed/ lib/node_modules/appium/node_modules/appium-xcuitest-derver/WebDriverAgent

三、打开终端,进入上面的WebDriverAgent的位置

mkdir -p Resources/WebDriverAgent.bundle
./Scripts/bootstrap.sh -d
 
四、 用xcode 打开 WebDriverAgentxcodeproj. WebDriverAgentLib和WebDriverAgentRunner
4.1
 

 4.2

 五、

5.1  

 5.2

 5.3

iOS手机出现一个webdriver的标志然后黑一下后就消失说明安装完成 

猜你喜欢

转载自www.cnblogs.com/xiyuan2016/p/9266991.html
今日推荐