@uniquet ,有什么进展吗,求教。我现在也遇到了这个问题,公司的测试机不能连外网
为什么使用 WebDriverAgent 的时候,从 Appstore 直接下载的 App 不需要进行重签名呢?
启动代理的时候指定对应端口的 udid,如:
iproxy 8100 8100 udid1 & \
iproxy 8111 8100 udid2
desired_caps['webDriverAgentUrl']='http://localhost:8100/'
desired_caps['webDriverAgentUrl']='http://localhost:8111/'
@soul ,海通证券的 app 在真机上能跑起来吗?我使用了你给的连接,下载了 app,但是使用 appium inspector 的时候,app 闪退,然后报如下的错误,不知道你有没有碰到这个问题,是怎么解决的,谢谢!我没有办法找开发拿到 debug 版,直接使用 app store 下载的版本进行测试
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID 'fcaa07***'
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: '/Applications/Xcode7.2.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode7.2.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/xf/59cnq5sj2l54cpm99xvxnz9r0000gn/T/appium-instruments/instrumentscli0.trace -w fcaa070******* com.htzq.htdzhiPhone -e UIASCRIPT "/Users/myht/Library/Application Support/appium/bootstrap/bootstrap-2bea48bbf643aa85.js" -e UIARESULTSPATH /var/folders/xf/59cnq5sj2l54cpm99xvxnz9r0000gn/T/appium-instruments'
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[HTTP] <-- GET /wd/hub/status - - ms - -
[debug] [Instruments] [INST STDERR] 2017-03-08 16:18:20.436 instruments[3166:68967] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST STDERR] 2017-03-08 16:18:20.752 instruments[3166:68967] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] 2017-03-08 16:18:20.752 instruments[3166:68968] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: Permission to debug com.htzq.htdzhiPhone was denied. The app must be signed with a development identity (e.g. iOS Developer).
[Instruments] Error launching instruments: Instruments crashed on startup