配置
desired_capabilities = {
"noReset": True,
"xcodeOrgId": "xxxxxxx",
"bundleId": "xxxxxxx",
"skipLogCapture": True,
"deviceName": "iphone6s Plus",
"wdaLocalPort": 25000,
"webDriverAgentUrl": "http://localhost:8100",
"waitForQuiescence": False,
"newCommandTimeout": 43200,
"platformVersion": "12.5",
"automationName": "XCUITest",
"useNewWDA": False,
"wdaStartupRetries": 0,
"platformName": "iOS",
"udid": "xxxxxxx",
"wdaConnectionTimeout": 1800000,
"autoAcceptAlerts": True
}
appium 日志:
[Appium] Welcome to Appium v1.21.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[debug] [HTTP] Request idempotency key: 94c0b34b-ff7f-4575-a3ba-ccba8a889a91
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"appium:noReset":true,"appium:xcodeOrgId":"xxxxxx","appium:bundleId":"xxxxxx","appium:skipLogCapture":true,"appium:deviceName":"iphone6s Plus","appium:wdaLocalPort":25000,"appium:webDriverAgentUrl":"http://localhost:8100","appium:waitForQuiescence":false,"appium:newCommandTimeout":43200,"appium:platformVersion":"12.5","appium:automationName":"XCUITest","appium:useNewWDA":false,"appium:wdaStartupRetries":0,"platformName":"iOS","appium:udid":"4335249214ddbe63092a4965347f078f8833179e","appium:wdaConnectionTimeout":1800000,"appium:autoAcceptAlerts":true}]},"desiredCapabilities":{"noReset":true,"xcodeOrgId":"xxxxxx","bundleId":"xxxxxx","skipLogCapture":true,"deviceName":"iphone6s Plus","wdaLocalPort":25000,"webDriverAgentUrl":"http://localhost:8100","waitForQuiescence":false,"newCommandTimeout":43200,"platformVersion":"12.5","automationName":"XCUITest","useNewWDA":false,"wdaStartupRetries":0,"platformName":"iOS","udid":"4335249214ddbe...
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"noReset":true,"xcodeOrgId":"xxxxxx","bundleId":"xxxxxx","skipLogCapture":true,"deviceName":"iphone6s Plus","wdaLocalPort":25000,"webDriverAgentUrl":"http://localhost:8100","waitForQuiescence":false,"newCommandTimeout":43200,"platformVersion":"12.5","automationName":"XCUITest","useNewWDA":false,"wdaStartupRetries":0,"platformName":"iOS","udid":"4335249214ddbe63092a4965347f078f8833179e","wdaConnectionTimeout":1800000,"autoAcceptAlerts":true},null,{"firstMatch":[{"appium:noReset":true,"appium:xcodeOrgId":"xxxxxx","appium:bundleId":"xxxxxx","appium:skipLogCapture":true,"appium:deviceName":"iphone6s Plus","appium:wdaLocalPort":25000,"appium:webDriverAgentUrl":"http://localhost:8100","appium:waitForQuiescence":false,"appium:newCommandTimeout":43200,"appium:platformVersion":"12.5","appium:automationName":"XCUITest","appium:useNewWDA":false,"appium:wdaStartupRetries":0,"platformName":"iOS","appium:udid":"4335249214ddbe63092a4965347f078f8833179e","appium:wdaConnectio...
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1624443626123 (18:20:26 GMT+0800 (中国标准时间))
[Appium] Appium v1.21.0 creating new XCUITestDriver (v3.43.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "platformName": "iOS",
[debug] [BaseDriver] "appium:noReset": true,
[debug] [BaseDriver] "appium:xcodeOrgId": "xxxxxx",
[debug] [BaseDriver] "appium:bundleId": "xxxxxx",
[debug] [BaseDriver] "appium:skipLogCapture": true,
[debug] [BaseDriver] "appium:deviceName": "iphone6s Plus",
[debug] [BaseDriver] "appium:wdaLocalPort": 25000,
[debug] [BaseDriver] "appium:webDriverAgentUrl": "http://localhost:8100",
[debug] [BaseDriver] "appium:waitForQuiescence": false,
[debug] [BaseDriver] "appium:newCommandTimeout": 43200,
[debug] [BaseDriver] "appium:platformVersion": "12.5",
[debug] [BaseDriver] "appium:automationName": "XCUITest",
[debug] [BaseDriver] "appium:useNewWDA": false,
[debug] [BaseDriver] "appium:wdaStartupRetries": 0,
[debug] [BaseDriver] "appium:udid": "4335249214ddbe63092a4965347f078f8833179e",
[debug] [BaseDriver] "appium:wdaConnectionTimeout": 1800000,
[debug] [BaseDriver] "appium:autoAcceptAlerts": true
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: 8e832c96-7bc2-40e2-be6e-8251511b004b
[debug] [XCUITest] Current user: 'xxxxxx\xxxxxx'
[debug] [XCUITest] Available devices: 4335249214ddbe63092a4965347f078f8833179e
[debug] [XCUITest] Creating iDevice object with udid '4335249214ddbe63092a4965347f078f8833179e'
[XCUITest] Determining device to run tests on: udid: '4335249214ddbe63092a4965347f078f8833179e', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1624443628129 (18:20:28 GMT+0800 (中国标准时间))
[debug] [BaseDriver] Event 'appConfigured' logged at 1624443628130 (18:20:28 GMT+0800 (中国标准时间))
[debug] [BaseDriver] Event 'resetStarted' logged at 1624443628130 (18:20:28 GMT+0800 (中国标准时间))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1624443628131 (18:20:28 GMT+0800 (中国标准时间))
[WebDriverAgent] Using WDA path: 'C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-webdriveragent'
[WebDriverAgent] Using WDA agent: 'C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-webdriveragent\WebDriverAgent.xcodeproj'
[XCUITest] 'skipLogCapture' is set. Skipping starting logs such as crash, system, safari console and safari network.
[XCUITest] Setting up real device
[WebDriverAgent] Cannot retrieve WDA build settings. Original error: spawn xcodebuild ENOENT
[DevCon Factory] Requesting connection for device 4335249214ddbe63092a4965347f078f8833179e on local port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for 4335249214ddbe63092a4965347f078f8833179e:8100
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1624443628377 (18:20:28 GMT+0800 (中国标准时间))
[WebDriverAgent] Using provided WebdriverAgent at 'http://localhost:8100'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: {"value":{"state":"success","os":{"name":"iOS","version":"12.5.2"},"ios":{"simulatorVersion":"12.5.2","ip":"192.168.1.55"},"build":{"time":"Jun 7 2021 09:31:00"}},"sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":0}
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443628425 (18:20:28 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443629496 (18:20:29 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443630536 (18:20:30 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443631567 (18:20:31 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443632598 (18:20:32 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443633627 (18:20:33 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443634655 (18:20:34 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443635683 (18:20:35 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443636709 (18:20:36 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443637747 (18:20:37 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443638788 (18:20:38 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443639835 (18:20:39 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443640872 (18:20:40 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443657103 (18:20:57 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1624443658130 (18:20:58 GMT+0800 (中国标准时间))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":"'bundleId' desired capability not provided","sessionId":"A264BFB8-9EA0-416E-8E13-AC4F08BF37C2","status":13}
[WD Proxy] Determined the downstream protocol as 'MJSONWP'
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[debug] [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided). Retrying...
[debug] [XCUITest] UnknownError: An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided
[debug] [XCUITest] at errorFromMJSONWPStatusCode (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:767:10)
[debug] [XCUITest] at ProxyRequestError.getActualError (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:661:14)
[debug] [XCUITest] at JWProxy.command (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:272:19)
[debug] [XCUITest] at processTicksAndRejections (internal/process/task_queues.js:93:5)
[debug] [XCUITest] at XCUITestDriver.proxyCommand (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\commands\proxy-helper.js:96:12)
[debug] [XCUITest] at XCUITestDriver.startWdaSession (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:968:5)
[debug] [XCUITest] at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:592:15
[debug] [XCUITest] at wrapped (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:60:13)
[debug] [XCUITest] at retry (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:43:13)
[debug] [XCUITest] at retryInterval (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:70:10)
[debug] [XCUITest] at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:587:11
[debug] [XCUITest] at wrapped (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:60:13)
[debug] [XCUITest] at retry (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:43:13)
[debug] [XCUITest] at retryInterval (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:70:10)
[debug] [XCUITest] at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:559:7
[debug] [XCUITest] Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided 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.
[debug] [XCUITest] Not quitting/uninstalling WebDriverAgent since webDriverAgentUrl capability is provided
[XCUITest] {}
[DevCon Factory] Releasing connections for 4335249214ddbe63092a4965347f078f8833179e device on any port number
[DevCon Factory] Found cached connections to release: ["4335249214ddbe63092a4965347f078f8833179e:8100"]
[debug] [DevCon Factory] Cached connections count: 0
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1624443658170 (18:20:58 GMT+0800 (中国标准时间))
[debug] [W3C] Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: 'bundleId' desired capability not provided 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.
[debug] [W3C] at quitAndUninstall (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:539:17)
[debug] [W3C] at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:610:17
[debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:93:5)
[debug] [W3C] at wrapped (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:60:13)
[debug] [W3C] at retry (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:43:13)
[debug] [W3C] at retryInterval (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:70:10)
[debug] [W3C] at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:559:7
[HTTP] <-- POST /wd/hub/session 500 32061 ms - 1437
[HTTP]