Skip to content

Instantly share code, notes, and snippets.

@dawnTestCode
Created October 4, 2019 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dawnTestCode/702eba136ea8a6e947c3e1a47efc51e8 to your computer and use it in GitHub Desktop.
Save dawnTestCode/702eba136ea8a6e947c3e1a47efc51e8 to your computer and use it in GitHub Desktop.
Appium 1.15.0 could not install app
The server is running
[Appium] Welcome to Appium v1.15.0
[Appium] Non-default server args:
[Appium] allowInsecure: {
[Appium] }
[Appium] denyInsecure: {
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Devel
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},null,{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appi...
[BaseDriver] Event 'newSessionRequested' logged at 1570212746735 (14:12:26 GMT-0400 (EDT))
[Appium] Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "platformName": "iOS",
[BaseDriver] "appium:deviceName": "iPhone X",
[BaseDriver] "appium:platformVersion": "12.4",
[BaseDriver] "appium:orientation": "PORTRAIT",
[BaseDriver] "appium:automationName": "XCUITest",
[BaseDriver] "appium:newCommandTimeout": 240,
[BaseDriver] "appium:autoAcceptAlerts": true,
[BaseDriver] "appium:fullReset": true,
[BaseDriver] "appium:noReset": false,
[BaseDriver] "appium:udid": "e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8",
[BaseDriver] "appium:xcodeOrgId": "75S3NRR275",
[BaseDriver] "appium:xcodeSigningId": "iPhone Developer",
[BaseDriver] "appium:updatedWDABundleId": "io.appium.WebDriverAgentRunner",
[BaseDriver] "appium:app": "/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Session created with session id: bcbe734e-eec5-4075-a6ff-e42939367a07
[XCUITest] Current user: 'dcode'
[XCUITest] Available devices: e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8
[XCUITest] Creating iDevice object with udid 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'
[XCUITest] Determining device to run tests on: udid: 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8', real device: true
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1570212747665 (14:12:27 GMT-0400 (EDT))
[BaseDriver] Using local app '/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa'
[BaseDriver] Unzipping '/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa'
[BaseDriver] Extracted 1891 item(s) from '/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa'
[BaseDriver] Matched 1890 item(s) in the extracted archive. Assuming 'Payload/AiView.app' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app'
[BaseDriver] Event 'appConfigured' logged at 1570212757849 (14:12:37 GMT-0400 (EDT))
[XCUITest] Checking whether app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app': 'com.aicure.aiview.AiView'
[BaseDriver] Event 'resetStarted' logged at 1570212757861 (14:12:37 GMT-0400 (EDT))
[XCUITest] Reset: running ios real device reset flow
[XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.aicure.aiview.AiView'.
[XCUITest] Reset: removed 'com.aicure.aiview.AiView'
[BaseDriver] Event 'resetComplete' logged at 1570212759695 (14:12:39 GMT-0400 (EDT))
[XCUITest] Crash reports root '/Users/dcode/Library/Logs/CrashReporter/MobileDevice/Zhitao Fan’s iPhone' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1570212759929 (14:12:39 GMT-0400 (EDT))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Installing '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' on device with UUID 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'...
[XCUITest] Error was thrown during the installation process
[XCUITest] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[XCUITest] at assertPath (path.js:39:11)
[XCUITest] at Object.join (path.js:1157:7)
[XCUITest] at Object.join [as walkDir] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/fs.js:76:29)
[XCUITest] Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[XCUITest] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[DevCon Factory] Releasing connections for e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8 device on any port number
[DevCon Factory] No cached connections have been found
[BaseDriver] Event 'newSessionStarted' logged at 1570212760293 (14:12:40 GMT-0400 (EDT))
[W3C] Encountered internal error running command: Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[W3C] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[HTTP] <-- POST /wd/hub/session 500 13577 ms - 818
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Devel
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},null,{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appi...
[BaseDriver] Event 'newSessionRequested' logged at 1570212760326 (14:12:40 GMT-0400 (EDT))
[Appium] Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "platformName": "iOS",
[BaseDriver] "appium:deviceName": "iPhone X",
[BaseDriver] "appium:platformVersion": "12.4",
[BaseDriver] "appium:orientation": "PORTRAIT",
[BaseDriver] "appium:automationName": "XCUITest",
[BaseDriver] "appium:newCommandTimeout": 240,
[BaseDriver] "appium:autoAcceptAlerts": true,
[BaseDriver] "appium:fullReset": true,
[BaseDriver] "appium:noReset": false,
[BaseDriver] "appium:udid": "e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8",
[BaseDriver] "appium:xcodeOrgId": "75S3NRR275",
[BaseDriver] "appium:xcodeSigningId": "iPhone Developer",
[BaseDriver] "appium:updatedWDABundleId": "io.appium.WebDriverAgentRunner",
[BaseDriver] "appium:app": "/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Session created with session id: e9bcfee7-da4e-49be-a74a-dd6435f7e492
[XCUITest] Current user: 'dcode'
[XCUITest] Available devices: e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8
[XCUITest] Creating iDevice object with udid 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'
[XCUITest] Determining device to run tests on: udid: 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8', real device: true
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1570212760346 (14:12:40 GMT-0400 (EDT))
[BaseDriver] Using local app '/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app'
[BaseDriver] Event 'appConfigured' logged at 1570212761135 (14:12:41 GMT-0400 (EDT))
[XCUITest] Checking whether app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app': 'com.aicure.aiview.AiView'
[BaseDriver] Event 'resetStarted' logged at 1570212761136 (14:12:41 GMT-0400 (EDT))
[XCUITest] Reset: running ios real device reset flow
[XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.aicure.aiview.AiView'.
[XCUITest] Reset: app not installed. No need to uninstall
[BaseDriver] Event 'resetComplete' logged at 1570212761375 (14:12:41 GMT-0400 (EDT))
[XCUITest] Crash reports root '/Users/dcode/Library/Logs/CrashReporter/MobileDevice/Zhitao Fan’s iPhone' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1570212761608 (14:12:41 GMT-0400 (EDT))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Installing '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' on device with UUID 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'...
[XCUITest] Error was thrown during the installation process
[XCUITest] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[XCUITest] at assertPath (path.js:39:11)
[XCUITest] at Object.join (path.js:1157:7)
[XCUITest] at Object.join [as walkDir] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/fs.js:76:29)
[XCUITest] Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[XCUITest] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[DevCon Factory] Releasing connections for e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8 device on any port number
[DevCon Factory] No cached connections have been found
[BaseDriver] Event 'newSessionStarted' logged at 1570212762015 (14:12:42 GMT-0400 (EDT))
[W3C] Encountered internal error running command: Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[W3C] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[HTTP] <-- POST /wd/hub/session 500 1691 ms - 818
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Devel
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},null,{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appi...
[BaseDriver] Event 'newSessionRequested' logged at 1570212762026 (14:12:42 GMT-0400 (EDT))
[Appium] Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "platformName": "iOS",
[BaseDriver] "appium:deviceName": "iPhone X",
[BaseDriver] "appium:platformVersion": "12.4",
[BaseDriver] "appium:orientation": "PORTRAIT",
[BaseDriver] "appium:automationName": "XCUITest",
[BaseDriver] "appium:newCommandTimeout": 240,
[BaseDriver] "appium:autoAcceptAlerts": true,
[BaseDriver] "appium:fullReset": true,
[BaseDriver] "appium:noReset": false,
[BaseDriver] "appium:udid": "e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8",
[BaseDriver] "appium:xcodeOrgId": "75S3NRR275",
[BaseDriver] "appium:xcodeSigningId": "iPhone Developer",
[BaseDriver] "appium:updatedWDABundleId": "io.appium.WebDriverAgentRunner",
[BaseDriver] "appium:app": "/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Session created with session id: 5e7884d7-e512-440a-9ce9-ebbf0e07579c
[XCUITest] Current user: 'dcode'
[XCUITest] Available devices: e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8
[XCUITest] Creating iDevice object with udid 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'
[XCUITest] Determining device to run tests on: udid: 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8', real device: true
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1570212762080 (14:12:42 GMT-0400 (EDT))
[BaseDriver] Using local app '/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app'
[BaseDriver] Event 'appConfigured' logged at 1570212763951 (14:12:43 GMT-0400 (EDT))
[XCUITest] Checking whether app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app': 'com.aicure.aiview.AiView'
[BaseDriver] Event 'resetStarted' logged at 1570212763952 (14:12:43 GMT-0400 (EDT))
[XCUITest] Reset: running ios real device reset flow
[XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.aicure.aiview.AiView'.
[XCUITest] Reset: app not installed. No need to uninstall
[BaseDriver] Event 'resetComplete' logged at 1570212764195 (14:12:44 GMT-0400 (EDT))
[XCUITest] Crash reports root '/Users/dcode/Library/Logs/CrashReporter/MobileDevice/Zhitao Fan’s iPhone' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1570212764424 (14:12:44 GMT-0400 (EDT))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Installing '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' on device with UUID 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'...
[XCUITest] Error was thrown during the installation process
[XCUITest] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[XCUITest] at assertPath (path.js:39:11)
[XCUITest] at Object.join (path.js:1157:7)
[XCUITest] at Object.join [as walkDir] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/fs.js:76:29)
[XCUITest] Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[XCUITest] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[DevCon Factory] Releasing connections for e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8 device on any port number
[DevCon Factory] No cached connections have been found
[BaseDriver] Event 'newSessionStarted' logged at 1570212764837 (14:12:44 GMT-0400 (EDT))
[W3C] Encountered internal error running command: Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[W3C] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[HTTP] <-- POST /wd/hub/session 500 2813 ms - 818
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Devel
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appium:app":"/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"},null,{"alwaysMatch":{"platformName":"iOS","appium:deviceName":"iPhone X","appium:platformVersion":"12.4","appium:orientation":"PORTRAIT","appium:automationName":"XCUITest","appium:newCommandTimeout":240,"appium:autoAcceptAlerts":true,"appium:fullReset":true,"appium:noReset":false,"appium:udid":"e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8","appium:xcodeOrgId":"75S3NRR275","appium:xcodeSigningId":"iPhone Developer","appium:updatedWDABundleId":"io.appium.WebDriverAgentRunner","appi...
[BaseDriver] Event 'newSessionRequested' logged at 1570212764841 (14:12:44 GMT-0400 (EDT))
[Appium] Appium v1.15.0 creating new XCUITestDriver (v2.133.1) session
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "platformName": "iOS",
[BaseDriver] "appium:deviceName": "iPhone X",
[BaseDriver] "appium:platformVersion": "12.4",
[BaseDriver] "appium:orientation": "PORTRAIT",
[BaseDriver] "appium:automationName": "XCUITest",
[BaseDriver] "appium:newCommandTimeout": 240,
[BaseDriver] "appium:autoAcceptAlerts": true,
[BaseDriver] "appium:fullReset": true,
[BaseDriver] "appium:noReset": false,
[BaseDriver] "appium:udid": "e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8",
[BaseDriver] "appium:xcodeOrgId": "75S3NRR275",
[BaseDriver] "appium:xcodeSigningId": "iPhone Developer",
[BaseDriver] "appium:updatedWDABundleId": "io.appium.WebDriverAgentRunner",
[BaseDriver] "appium:app": "/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa"
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Session created with session id: e14c0a2a-f524-4e19-a826-cea9c4b38e67
[XCUITest] Current user: 'dcode'
[XCUITest] Available devices: e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8
[XCUITest] Creating iDevice object with udid 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'
[XCUITest] Determining device to run tests on: udid: 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8', real device: true
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1570212764859 (14:12:44 GMT-0400 (EDT))
[BaseDriver] Using local app '/Users/dcode/dev/unspecified/appium-boilerplate/apps/AiView_auto.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app'
[BaseDriver] Event 'appConfigured' logged at 1570212765635 (14:12:45 GMT-0400 (EDT))
[XCUITest] Checking whether app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app': 'com.aicure.aiview.AiView'
[BaseDriver] Event 'resetStarted' logged at 1570212765638 (14:12:45 GMT-0400 (EDT))
[XCUITest] Reset: running ios real device reset flow
[XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.aicure.aiview.AiView'.
[XCUITest] Reset: app not installed. No need to uninstall
[BaseDriver] Event 'resetComplete' logged at 1570212765872 (14:12:45 GMT-0400 (EDT))
[XCUITest] Crash reports root '/Users/dcode/Library/Logs/CrashReporter/MobileDevice/Zhitao Fan’s iPhone' does not exist. Got nothing to gather.
[BaseDriver] Event 'logCaptureStarted' logged at 1570212766096 (14:12:46 GMT-0400 (EDT))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Installing '/var/folders/zn/qlw9bsp90cd262m8mhv501xr0000gp/T/201994-13770-482bz4.flud9/Payload/AiView.app' on device with UUID 'e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8'...
[XCUITest] Error was thrown during the installation process
[XCUITest] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[XCUITest] at assertPath (path.js:39:11)
[XCUITest] at Object.join (path.js:1157:7)
[XCUITest] at Object.join [as walkDir] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/fs.js:76:29)
[XCUITest] Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[XCUITest] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[DevCon Factory] Releasing connections for e49beb63798a4d11bb8f8fa3052ef17d1c4df3c8 device on any port number
[DevCon Factory] No cached connections have been found
[BaseDriver] Event 'newSessionStarted' logged at 1570212766509 (14:12:46 GMT-0400 (EDT))
[W3C] Encountered internal error running command: Error: Could not install app: 'The "path" argument must be of type string. Received type undefined'
[W3C] at IOSDeploy.install (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/ios-deploy.js:41:13)
[HTTP] <-- POST /wd/hub/session 500 1670 ms - 818
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment