环境配置:
carthage: stable 0.31.2 (bottled), HEAD
usbmuxd: stable 1.0.10 (bottled), HEAD
libimobiledevice: stable 1.2.0 (bottled), HEAD
npm 6.4.1
ios-deploy 1.9.4
xcpretty 0.3.0
appium-doctor 1.6.0
Appium v1.9.1
Python 3.7
WebDriverAgent 用GitHub的[https://github.com/facebook/WebDriverAgent ]
Xcode10.1
每次真机开发启动顺序:
1.先在终端启动WDA(或者直接用XCode直接【WebDriverAgentRunner】-【testing】也行)
xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=设备ID test
进行端口转发
iproxy 8100 8100 设备ID
启动Appium Server