求助:環境正常,xcodebuild 也執行成功了,但是使用 appium desktop 的時候,出現:Could not start session
求助大神幫幫忙,小白一個,摸滾帶爬,把環境和構建問題解決了,但是啟動 appium desktop 又有問題。
Xcode 版本:11.5
iOS 模擬器版本:iPhone 8(12.4)
Appium desktop 版本:1.17
1.環境依賴,都搭建好了,無問題。
2.構建也完成了,wda 用的 appium 自帶的。
Testing started on 'iPhone 8'
2020-06-17 16:42:58.972 xcodebuild[883:29359] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/zhangben/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.17_16-42-22-+0800.xcresult/Staging/1_Test/Diagnostics/WebDriverAgentRunner-37294224-DC51-42F8-BCB9-386D2F235C5D/WebDriverAgentRunner-FFAE4C4E-242E-458E-87D4-C8F9B7C99DA3/Session-WebDriverAgentRunner-2020-06-17_164258-9RxzTl.log
2020-06-17 16:42:58.973 xcodebuild[883:29139] [MT] IDETestOperationsObserverDebug: (78720B3D-FD3F-4938-9BBA-EA407ED2358A) Beginning test session WebDriverAgentRunner-78720B3D-FD3F-4938-9BBA-EA407ED2358A at 2020-06-17 16:42:58.973 with Xcode 11E608c on target <DVTiPhoneSimulator: 0x7fe6e43269c0> {
SimDevice: iPhone 8 (17E2A5AB-A727-4295-9890-010DC6912EEC, iOS 12.4, Shutdown)
} (12.4 (16G73))
2020-06-17 16:43:16.240 xcodebuild[883:29139] [MT] IDETestOperationsObserverDebug: (78720B3D-FD3F-4938-9BBA-EA407ED2358A) Finished requesting crash reports. Continuing with testing.
2020-06-17 16:43:19.262427+0800 WebDriverAgentRunner-Runner[1415:31384] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2020-06-17 16:43:19.458639+0800 WebDriverAgentRunner-Runner[1415:31384] [AXMediaCommon] Unable to look up screen scale
2020-06-17 16:43:19.458785+0800 WebDriverAgentRunner-Runner[1415:31384] [AXMediaCommon] Unexpected physical screen orientation
2020-06-17 16:43:19.480375+0800 WebDriverAgentRunner-Runner[1415:31384] [AXMediaCommon] Unable to look up screen scale
2020-06-17 16:43:19.484871+0800 WebDriverAgentRunner-Runner[1415:31384] [AXMediaCommon] Unable to look up screen scale
2020-06-17 16:43:19.484992+0800 WebDriverAgentRunner-Runner[1415:31384] [AXMediaCommon] Unexpected physical screen orientation
2020-06-17 16:43:19.539079+0800 WebDriverAgentRunner-Runner[1415:31384] Running tests...
Test Suite 'All tests' started at 2020-06-17 16:43:19.732
Test Suite 'WebDriverAgentLib.framework' started at 2020-06-17 16:43:19.734
Test Suite 'WebDriverAgentLib.framework' passed at 2020-06-17 16:43:19.734.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds
Test Suite 'WebDriverAgentRunner.xctest' started at 2020-06-17 16:43:19.735
Test Suite 'UITestingUITests' started at 2020-06-17 16:43:19.735
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2020-06-17 16:43:19.817
t = 0.01s Set Up
2020-06-17 16:43:19.821841+0800 WebDriverAgentRunner-Runner[1415:31384] Built at Jun 17 2020 16:42:30
2020-06-17 16:43:19.847673+0800 WebDriverAgentRunner-Runner[1415:31384] ServerURLHere->http://192.168.1.43:8100<-ServerURLHere
2020-06-17 16:43:19.848273+0800 WebDriverAgentRunner-Runner[1415:31403] Using singleton test manager
2020-06-17 16:43:22.905762+0800 WebDriverAgentRunner-Runner[1415:31394] [MC] Invalidating cache
2020-06-17 16:43:24.352318+0800 WebDriverAgentRunner-Runner[1415:31392] [MC] Invalidating cache
3.appium desktop 上面的引數:
{
"platformName": "ios",
"platformVersion": "12.4",
"udid": "17E2A5AB-A727-4295-9890-010DC6912EEC",
"deviceName": "iPhone 8",
"app": "/Users/zhangben/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app"
}
我個人感覺,跟引數沒關係
之前用的 appium desktop 1.15 都不會報 Could not start session 升級到 1.17 後就出現了
小白一個啊,全靠自己摸索,希望老哥們指點一二,謝謝!
相關文章
- appium 執行的時候,偶爾會出現:[BaseDriver] Shutting down because we waited 1200 seconds for a commandAPPAI
- 使用Falcosidekick將執行時安全整合到現有環境中IDE
- appium start session 時報錯 Error executing adbExec. Original error 求指點APPSessionError
- 【譯】JS執行時環境JS
- [求助]Laravel使用presence的時候,Unable to join channelLaravel
- [求助] 使用 Selenium 進行拖拽操作不成功,求助
- polarphp 0.0.1 alpha 釋出:全新 PHP 執行時環境PHP
- oracle 安裝的時候出現PRVF-0002 : could not retrieve local node nameOracle
- appium 使用 appium-desktop 可以正常使用,使用命令列啟動報如下錯誤,誰能幫忙看下呢APP命令列
- appium start session 時報錯 Error executing adbExec. Original error。已經卡了一天,求大神指點APPSessionError
- vagrant下composer安裝laravel-wechat時候,出現could not delete的錯誤Laraveldelete
- RF appium環境的安裝APP
- 大資料執行環境的執行大資料
- 正常執行時間監控
- Mac搭建appium環境及python執行程式碼示例MacAPPPython行程
- session是什麼時候建立的Session
- JavaScript執行環境與執行棧JavaScript
- Electron打包的時候路徑出現問題!include: could not find: "C:UsersxxxxAppDataLocalTemp -TH3KzBAPP
- onethink做了一個網站後,在本地可以正常執行,但是把它放到伺服器上就不正常了網站伺服器
- 求助!!!!Django+Celery非同步執行神經網路時出錯Django非同步神經網路
- Monkey 執行的時候,音樂播放..
- VS中呼叫QT出現This application failed to start because it could not find or load the Qt platform pluginQTAPPAIPlatformPlugin
- laradock swoole 執行環境
- openGauss-執行環境
- linux執行環境&命令Linux
- 今天在object-c 和swift 混編的時候出現錯誤:could not build module foundationObjectSwiftUI
- Appium 介紹與環境搭建APP
- Mac使用dinghy和laradock搭建php執行環境MacPHP
- 歷時三天,成功搭建Laravel Sail環境LaravelAI
- Python+Appium執行簡單的demo,你需要理解Appium執行原理!PythonAPP
- 也來看看Android的ART執行時Android
- 作業系統的執行環境作業系統
- 1-1 JavaScript執行環境 執行棧JavaScript
- 搭建本地執行Hadoop環境Hadoop
- js執行環境總結JS
- Java002-執行環境Java
- 搭建go環境並執行Go
- Scala--執行環境搭建