我的是升级v1.4.0-release之后用不了的,升级前(v1.3.2-release)能用……现在报错
[XCUITest] {}
2022-06-09 17:11:45.887 - INFO 91083 --- [pool-3-thread-6] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"连接设备驱动失败!","log":"","time":"17:11:45","rid":0,"udId":"8d9ba825420df690e7b4532ba691a28a034f43a7","status":4,"cid":0}
2022-06-09 17:11:45.887 -ERROR 91083 --- [pool-3-thread-6] o.c.sonic.agent.websockets.IOSWSServer : Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:54802 Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'YCMathdeMac-Pro.local', ip: 'fe80:0:0:0:1ca2:38e6:5e9f:c28f%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.0.1', java.version: '17.0.2'
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:54802 Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'YCMathdeMac-Pro.local', ip: 'fe80:0:0:0:1ca2:38e6:5e9f:c28f%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.0.1', java.version: '17.0.2'
Driver info: driver.version: IOSDriver