webDriverAgent Test到iphone遇到的坑

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

疑問解決方法: 這個問題,打開手機設置-描述文件,信任就能夠了.
 
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'的 
相關文章
相關標籤/搜索