1. 程式人生 > >webDriverAgent Test到iphone遇到的坑

webDriverAgent Test到iphone遇到的坑

from ont drive 到你 sta fault img could ner

1,<<< could not lunch "webDriverAgentRunner" >>>

技術分享解決方法: 這個問題,打開手機設置-描述文件,信任就可以了.
2 <<<The bundle “WebDriverAgentRunner” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.>>> 2017-04-19 16:45:53.083691 XCTRunner[10203:3854208] Running tests... 2017-04-19 16:45:53.365583 XCTRunner[10203:3854208] The bundle “WebDriverAgentRunner” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. 2017-04-19 16:45:53.366908 XCTRunner[10203:3854208] (dlopen_preflight(/var/containers/Bundle/Application/827F554F-55B7-4B5B-9F4C-75A14EB3A143/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): Library not loaded: @rpath/RoutingHTTPServer.framework/RoutingHTTPServer Referenced from: /private/var/containers/Bundle/Application/827F554F-55B7-4B5B-9F4C-75A14EB3A143/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/827F554F-55B7-4B5B-9F4C-75A14EB3A143/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer: code signature invalid for ‘/private/var/containers/Bundle/Application/827F554F-55B7-4B5B-9F4C-75A14EB3A143/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer‘ ) 這個問題根據appium issues的解答: 解決方法: 點擊你的project,選擇General, 左邊框框的TARGETS, 逐一都把automatically中的team標上, 然後重新test一下,得到上面的信息就可以了

3 選擇automatically竟然create certificate fail. 這裏本人遇到兩種情況 @1 點擊選好你的team,也就是你的appid還是報錯, 這個時候再切回去Build settings 找到你的bunldeID再改一遍,切記別存在下劃線等作死行為 @2 第二種情況就是我作死過,使用了下劃線去改bunlde ID 其余的坑如果有遇到,我還會補上. 雖然我是測試狗,我也獨愛解‘bug‘的

webDriverAgent Test到iphone遇到的坑