Appium Desktop版本:1.9.0
xcode版本:9.4.1
測試機:iPhone7 11.3系統
問題描述:在xcode上的produc的text運行是可以將WebDriverAgent成功安裝到手機上,但用代碼去運行時只能將APP安裝到手機上隨后WebDriverAgent自動被卸載然后appium報錯:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
解決辦法:
將desired_capabilities中的platformName:ios改成platformName:iOS,還有將deviceName填寫正確的手機名稱
修改完后再次運行,可以成功。