Skip to content

Instantly share code, notes, and snippets.

@aryalakshmi
Last active May 3, 2019 09:18
Show Gist options
  • Save aryalakshmi/185e25521ec9c11b89e2b5353f130e1c to your computer and use it in GitHub Desktop.
Save aryalakshmi/185e25521ec9c11b89e2b5353f130e1c to your computer and use it in GitHub Desktop.
appiumlogs1.13
PTs-MacBook-Pro-N2:WebDriverAgent-master digitalhome$ appium -a 127.0.0.1 -p 4723
[Appium] Welcome to Appium v1.13.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxxxx","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","webkitResponseTimeout":"180000","automationName":"XCUITest","noReset":"false","autoWebview":"true","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"12.2","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.xxx.xxxx"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxxxxxx","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","webkitResponseTimeout":"180000","automationName":"XCUITest","noReset":"false","autoWebview":"true","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"12.2","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.xxx.xxx"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1556866032723 (12:17:12 GMT+0530 (India Standard Time))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","Id","udid","webkitResponseTimeout","automationName","noReset","autoWebview","xcodeSigningId","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] xcodeOrgId: xxxxxxxx
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] webkitResponseTimeout: 180000
[Appium] automationName: XCUITest
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeSigningId: iPhone Developer
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.2
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.xxx.xxx
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: f482fb85-715a-47bd-af03-3d8bd5b894f7
[debug] [XCUITest] Current user: 'digitalhome'
[debug] [XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1556866033175 (12:17:13 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'appConfigured' logged at 1556866033177 (12:17:13 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1556866033177 (12:17:13 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1556866033177 (12:17:13 GMT+0530 (India Standard Time))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1556866033333 (12:17:13 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[debug] [XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[debug] [XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[debug] [XCUITest] true
[debug] [XCUITest] '
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Parsed BUILD_DIR configuration value: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products'
[debug] [XCUITest] Got derived data root: '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy'
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 20000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1556866035608 (12:17:15 GMT+0530 (India Standard Time))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35, iproxy 8100' for the device c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [XCUITest] iProxy is running and is listening on port #8100
[debug] [XCUITest] Generating xcode config file for orgId 'SZCQM5438R' and signingId 'iPhone Developer'
[debug] [XCUITest] Writing xcode config file to /var/folders/z4/kx1pfrr90zsg2mf30pf_v8180000gn/T/201943-28752-5qxtr7.zpza6/appium-temp.xcconfig
[debug] [XCUITest] Using Xcode configuration file: '/var/folders/z4/kx1pfrr90zsg2mf30pf_v8180000gn/T/201943-28752-5qxtr7.zpza6/appium-temp.xcconfig'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy -destination id=c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 IPHONEOS_DEPLOYMENT_TARGET=12.2 -xcconfig /var/folders/z4/kx1pfrr90zsg2mf30pf_v8180000gn/T/201943-28752-5qxtr7.zpza6/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[Xcode] 2019-05-03 12:17:17.898 xcodebuild[28807:5952153] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fab6fd113c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode]
[Xcode] 2019-05-03 12:17:17.898 xcodebuild[28807:5952153] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fab6fc55ec0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode]
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-17-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-CED0A29F-1168-4389-9592-B0D639FD2C92/WebDriverAgentRunner-65BE51B3-5211-438C-8890-A984118367CD/Session-WebDriverAgentRunner-2019-05-03_121717-07VDrP.log
[Xcode] 2019-05-03 12:17:17.911 xcodebuild[28807:5952155] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-17-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-CED0A29F-1168-4389-9592-B0D639FD2C92/WebDriverAgentRunner-65BE51B3-5211-438C-8890-A984118367CD/Session-WebDriverAgentRunner-2019-05-03_121717-07VDrP.log
[Xcode]
[Xcode] 2019-05-03 12:17:17.912 xcodebuild[28807:5952147] [MT] IDETestOperationsObserverDebug: (803D3F2F-90DA-4FD6-8ADC-3F4B7D78806A) Beginning test session WebDriverAgentRunner-803D3F2F-90DA-4FD6-8ADC-3F4B7D78806A at 2019-05-03 12:17:17.912 with Xcode 10E125 on target 📱<DVTiOSDevice (0x7fab6ffd9300), PT’s iPhone 5s, iPhone, 12.2 (16E227), c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35> {
[Xcode] deviceSerialNumber: DX3QMHHSFRC5
[Xcode] identifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Xcode] deviceClass: iPhone
[Xcode] deviceName: PT’s iPhone 5s
[Xcode] deviceIdentifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Xcode] productVersion: 12.2
[Xcode] buildVersion: 16E227
[Xcode] deviceSoftwareVersion: 12.2 (16E227)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 11947540480
[Xcode] deviceAvailableCapacity: 6883418112
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7fab6d593aa0 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] nextBootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: PTs-iPhone-5s.local.
[Xcode] bonjourServiceName: 00:6d:52:58:61:43@fe80::26d:52ff:fe58:6143._apple-mobdev2._tcp.local.
[Xcode] } (12.2 (16E227))
[Xcode]
[Xcode] 2019-05-03 12:17:18.087 xcodebuild[28807:5952147] [MT] IDETestOperationsObserverDebug: (803D3F2F-90DA-4FD6-8ADC-3F4B7D78806A) Finished requesting crash reports. Continuing with testing.
[Xcode]
[Xcode]
[Xcode]
[Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-17-+0530.xcresult
[Xcode]
[Xcode]
[Xcode] 2019-05-03 12:17:18.101 xcodebuild[28807:5952147] [MT] IDETestOperationsObserverDebug: 0.193 elapsed -- Testing started completed.
[Xcode]
[Xcode] 2019-05-03 12:17:18.101 xcodebuild[28807:5952147] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[Xcode] 2019-05-03 12:17:18.101 xcodebuild[28807:5952147] [MT] IDETestOperationsObserverDebug: 0.193 sec, +0.193 sec -- end
[Xcode]
[Xcode] 2019-05-03 12:17:18.101 xcodebuild[28807:5952147] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fab7011c010 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] "WebDriverAgentRunner" requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor. (in target 'WebDriverAgentRunner')
[Xcode] WebDriverAgentRunner:
[Xcode] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-17-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'PT’s iPhone 5s'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35, iproxy 8100' for the device c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [XCUITest] iProxy is running and is listening on port #8100
[debug] [XCUITest] Using Xcode configuration file: '/var/folders/z4/kx1pfrr90zsg2mf30pf_v8180000gn/T/201943-28752-5qxtr7.zpza6/appium-temp.xcconfig'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy -destination id=c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 IPHONEOS_DEPLOYMENT_TARGET=12.2 -xcconfig /var/folders/z4/kx1pfrr90zsg2mf30pf_v8180000gn/T/201943-28752-5qxtr7.zpza6/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[Xcode] 2019-05-03 12:17:20.527 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1df100230 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode]
[Xcode] 2019-05-03 12:17:20.528 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1dec3ad70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode]
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-58C457E0-88CB-4CAE-8339-965072001F21/WebDriverAgentRunner-44C01297-61C5-41C8-8B2D-8650889B850A/Session-WebDriverAgentRunner-2019-05-03_121720-wDJGbY.log
[Xcode] 2019-05-03 12:17:20.540 xcodebuild[28820:5952278] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-58C457E0-88CB-4CAE-8339-965072001F21/WebDriverAgentRunner-44C01297-61C5-41C8-8B2D-8650889B850A/Session-WebDriverAgentRunner-2019-05-03_121720-wDJGbY.log
[Xcode]
[Xcode] 2019-05-03 12:17:20.541 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Beginning test session WebDriverAgentRunner-16499BA3-9426-4576-ACC6-DBCC2B2EDB9F at 2019-05-03 12:17:20.541 with Xcode 10E125 on target 📱<DVTiOSDevice (0x7fe1deba7170), PT’s iPhone 5s, iPhone, 12.2 (16E227), c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35> {
[Xcode] deviceSerialNumber: DX3QMHHSFRC5
[Xcode] identifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Xcode] deviceClass: iPhone
[Xcode] deviceName: PT’s iPhone 5s
[Xcode] deviceIdentifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Xcode] productVersion: 12.2
[Xcode] buildVersion: 16E227
[Xcode] deviceSoftwareVersion: 12.2 (16E227)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 11947540480
[Xcode] deviceAvailableCapacity: 6883418112
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7fe1deaa7500 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] nextBootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: PTs-iPhone-5s.local.
[Xcode] bonjourServiceName: 00:6d:52:58:61:43@fe80::26d:52ff:fe58:6143._apple-mobdev2._tcp.local.
[Xcode] } (12.2 (16E227))
[Xcode]
[Xcode] 2019-05-03 12:17:20.714 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Finished requesting crash reports. Continuing with testing.
[Xcode]
[Xcode]
[Xcode]
[Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[Xcode]
[Xcode]
[Xcode] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 elapsed -- Testing started completed.
[Xcode]
[Xcode] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[Xcode] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 sec, +0.193 sec -- end
[Xcode]
[Xcode] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fe1deb06e40 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode]
[Xcode] "WebDriverAgentRunner" requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor. (in target 'WebDriverAgentRunner')
[Xcode] WebDriverAgentRunner:
[Xcode] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[Xcode]
[Xcode] Test session results and logs:
[Xcode] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started on 'PT’s iPhone 5s'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1556866040747 (12:17:20 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[debug] [XCUITest] 2019-05-03 12:17:20.527 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1df100230 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [XCUITest] 2019-05-03 12:17:20.528 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1dec3ad70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [XCUITest] ** TEST BUILD FAILED **
[debug] [XCUITest] 2019-05-03 12:17:20.540 xcodebuild[28820:5952278] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[debug] [XCUITest] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-58C457E0-88CB-4CAE-8339-965072001F21/WebDriverAgentRunner-44C01297-61C5-41C8-8B2D-8650889B850A/Session-WebDriverAgentRunner-2019-05-03_121720-wDJGbY.log
[debug] [XCUITest] 2019-05-03 12:17:20.541 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Beginning test session WebDriverAgentRunner-16499BA3-9426-4576-ACC6-DBCC2B2EDB9F at 2019-05-03 12:17:20.541 with Xcode 10E125 on target 📱<DVTiOSDevice (0x7fe1deba7170), PT’s iPhone 5s, iPhone, 12.2 (16E227), c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35> {
[debug] [XCUITest] deviceSerialNumber: DX3QMHHSFRC5
[debug] [XCUITest] identifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [XCUITest] deviceClass: iPhone
[debug] [XCUITest] deviceName: PT’s iPhone 5s
[debug] [XCUITest] deviceIdentifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [XCUITest] productVersion: 12.2
[debug] [XCUITest] buildVersion: 16E227
[debug] [XCUITest] deviceSoftwareVersion: 12.2 (16E227)
[debug] [XCUITest] deviceArchitecture: arm64
[debug] [XCUITest] deviceTotalCapacity: 11947540480
[debug] [XCUITest] deviceAvailableCapacity: 6883418112
[debug] [XCUITest] deviceIsTransient: NO
[debug] [XCUITest] ignored: NO
[debug] [XCUITest] deviceIsBusy: NO
[debug] [XCUITest] deviceIsPaired: YES
[debug] [XCUITest] deviceIsActivated: YES
[debug] [XCUITest] deviceActivationState: Activated
[debug] [XCUITest] isPasscodeLocked: NO
[debug] [XCUITest] deviceType: <DVTDeviceType:0x7fe1deaa7500 Xcode.DeviceType.iPhone>
[debug] [XCUITest] supportedDeviceFamilies: (
[debug] [XCUITest] 1
[debug] [XCUITest] )
[debug] [XCUITest] applications: (null)
[debug] [XCUITest] provisioningProfiles: (null)
[debug] [XCUITest] hasInternalSupport: NO
[debug] [XCUITest] isSupportedOS: YES
[debug] [XCUITest] developerDiskMountError: (null)
[debug] [XCUITest] (null)
[debug] [XCUITest] bootArgs: (null)
[debug] [XCUITest] nextBootArgs: (null)
[debug] [XCUITest] connected: yes
[debug] [XCUITest] isWirelessEnabled: no
[debug] [XCUITest] connectionType: direct
[debug] [XCUITest] hostname: PTs-iPhone-5s.local.
[debug] [XCUITest] bonjourServiceName: 00:6d:52:58:61:43@fe80::26d:52ff:fe58:6143._apple-mobdev2._tcp.local.
[debug] [XCUITest] } (12.2 (16E227))
[debug] [XCUITest] 2019-05-03 12:17:20.714 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Finished requesting crash reports. Continuing with testing.
[debug] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[debug] [XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 elapsed -- Testing started completed.
[debug] [XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[debug] [XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 sec, +0.193 sec -- end
[debug] [XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fe1deb06e40 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [XCUITest] Testing failed:
[debug] [XCUITest] "WebDriverAgentRunner" requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor. (in target 'WebDriverAgentRunner')
[debug] [XCUITest] WebDriverAgentRunner:
[debug] [XCUITest] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[debug] [XCUITest] Test session results and logs:
[debug] [XCUITest] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[debug] [XCUITest] ** TEST EXECUTE FAILED **
[debug] [XCUITest] Testing started on 'PT’s iPhone 5s'. 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.
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 28819)
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] xcodebuild error message:
[XCUITest]
[XCUITest] 2019-05-03 12:17:20.527 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1df100230 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[XCUITest] 2019-05-03 12:17:20.528 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1dec3ad70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[XCUITest] ** TEST BUILD FAILED **
[XCUITest] 2019-05-03 12:17:20.540 xcodebuild[28820:5952278] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[XCUITest] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-58C457E0-88CB-4CAE-8339-965072001F21/WebDriverAgentRunner-44C01297-61C5-41C8-8B2D-8650889B850A/Session-WebDriverAgentRunner-2019-05-03_121720-wDJGbY.log
[XCUITest] 2019-05-03 12:17:20.541 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Beginning test session WebDriverAgentRunner-16499BA3-9426-4576-ACC6-DBCC2B2EDB9F at 2019-05-03 12:17:20.541 with Xcode 10E125 on target 📱<DVTiOSDevice (0x7fe1deba7170), PT’s iPhone 5s, iPhone, 12.2 (16E227), c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35> {
[XCUITest] deviceSerialNumber: DX3QMHHSFRC5
[XCUITest] identifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] deviceClass: iPhone
[XCUITest] deviceName: PT’s iPhone 5s
[XCUITest] deviceIdentifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[XCUITest] productVersion: 12.2
[XCUITest] buildVersion: 16E227
[XCUITest] deviceSoftwareVersion: 12.2 (16E227)
[XCUITest] deviceArchitecture: arm64
[XCUITest] deviceTotalCapacity: 11947540480
[XCUITest] deviceAvailableCapacity: 6883418112
[XCUITest] deviceIsTransient: NO
[XCUITest] ignored: NO
[XCUITest] deviceIsBusy: NO
[XCUITest] deviceIsPaired: YES
[XCUITest] deviceIsActivated: YES
[XCUITest] deviceActivationState: Activated
[XCUITest] isPasscodeLocked: NO
[XCUITest] deviceType: <DVTDeviceType:0x7fe1deaa7500 Xcode.DeviceType.iPhone>
[XCUITest] supportedDeviceFamilies: (
[XCUITest] 1
[XCUITest] )
[XCUITest] applications: (null)
[XCUITest] provisioningProfiles: (null)
[XCUITest] hasInternalSupport: NO
[XCUITest] isSupportedOS: YES
[XCUITest] developerDiskMountError: (null)
[XCUITest] (null)
[XCUITest] bootArgs: (null)
[XCUITest] nextBootArgs: (null)
[XCUITest] connected: yes
[XCUITest] isWirelessEnabled: no
[XCUITest] connectionType: direct
[XCUITest] hostname: PTs-iPhone-5s.local.
[XCUITest] bonjourServiceName: 00:6d:52:58:61:43@fe80::26d:52ff:fe58:6143._apple-mobdev2._tcp.local.
[XCUITest] } (12.2 (16E227))
[XCUITest] 2019-05-03 12:17:20.714 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Finished requesting crash reports. Continuing with testing.
[XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 elapsed -- Testing started completed.
[XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 sec, +0.193 sec -- end
[XCUITest] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fe1deb06e40 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[XCUITest] Testing failed:
[XCUITest] "WebDriverAgentRunner" requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor. (in target 'WebDriverAgentRunner')
[XCUITest] WebDriverAgentRunner:
[XCUITest] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[XCUITest] Test session results and logs:
[XCUITest] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[XCUITest] ** TEST EXECUTE FAILED **
[XCUITest] Testing started on 'PT’s iPhone 5s'. 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.
[XCUITest] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1556866041249 (12:17:21 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] 2019-05-03 12:17:20.527 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1df100230 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [W3C] 2019-05-03 12:17:20.528 xcodebuild[28820:5952277] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fe1dec3ad70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [W3C] ** TEST BUILD FAILED **
[debug] [W3C] 2019-05-03 12:17:20.540 xcodebuild[28820:5952278] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[debug] [W3C] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-58C457E0-88CB-4CAE-8339-965072001F21/WebDriverAgentRunner-44C01297-61C5-41C8-8B2D-8650889B850A/Session-WebDriverAgentRunner-2019-05-03_121720-wDJGbY.log
[debug] [W3C] 2019-05-03 12:17:20.541 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Beginning test session WebDriverAgentRunner-16499BA3-9426-4576-ACC6-DBCC2B2EDB9F at 2019-05-03 12:17:20.541 with Xcode 10E125 on target 📱<DVTiOSDevice (0x7fe1deba7170), PT’s iPhone 5s, iPhone, 12.2 (16E227), c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35> {
[debug] [W3C] deviceSerialNumber: DX3QMHHSFRC5
[debug] [W3C] identifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [W3C] deviceClass: iPhone
[debug] [W3C] deviceName: PT’s iPhone 5s
[debug] [W3C] deviceIdentifier: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [W3C] productVersion: 12.2
[debug] [W3C] buildVersion: 16E227
[debug] [W3C] deviceSoftwareVersion: 12.2 (16E227)
[debug] [W3C] deviceArchitecture: arm64
[debug] [W3C] deviceTotalCapacity: 11947540480
[debug] [W3C] deviceAvailableCapacity: 6883418112
[debug] [W3C] deviceIsTransient: NO
[debug] [W3C] ignored: NO
[debug] [W3C] deviceIsBusy: NO
[debug] [W3C] deviceIsPaired: YES
[debug] [W3C] deviceIsActivated: YES
[debug] [W3C] deviceActivationState: Activated
[debug] [W3C] isPasscodeLocked: NO
[debug] [W3C] deviceType: <DVTDeviceType:0x7fe1deaa7500 Xcode.DeviceType.iPhone>
[debug] [W3C] supportedDeviceFamilies: (
[debug] [W3C] 1
[debug] [W3C] )
[debug] [W3C] applications: (null)
[debug] [W3C] provisioningProfiles: (null)
[debug] [W3C] hasInternalSupport: NO
[debug] [W3C] isSupportedOS: YES
[debug] [W3C] developerDiskMountError: (null)
[debug] [W3C] (null)
[debug] [W3C] bootArgs: (null)
[debug] [W3C] nextBootArgs: (null)
[debug] [W3C] connected: yes
[debug] [W3C] isWirelessEnabled: no
[debug] [W3C] connectionType: direct
[debug] [W3C] hostname: PTs-iPhone-5s.local.
[debug] [W3C] bonjourServiceName: 00:6d:52:58:61:43@fe80::26d:52ff:fe58:6143._apple-mobdev2._tcp.local.
[debug] [W3C] } (12.2 (16E227))
[debug] [W3C] 2019-05-03 12:17:20.714 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: (16499BA3-9426-4576-ACC6-DBCC2B2EDB9F) Finished requesting crash reports. Continuing with testing.
[debug] [W3C] *** If you believe this error represents a bug, please attach the result bundle at /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[debug] [W3C] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 elapsed -- Testing started completed.
[debug] [W3C] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[debug] [W3C] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] [MT] IDETestOperationsObserverDebug: 0.193 sec, +0.193 sec -- end
[debug] [W3C] 2019-05-03 12:17:20.730 xcodebuild[28820:5952270] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fe1deb06e40 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [W3C] Testing failed:
[debug] [W3C] "WebDriverAgentRunner" requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor. (in target 'WebDriverAgentRunner')
[debug] [W3C] WebDriverAgentRunner:
[debug] [W3C] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[debug] [W3C] Test session results and logs:
[debug] [W3C] /Users/digitalhome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.05.03_12-17-20-+0530.xcresult
[debug] [W3C] ** TEST EXECUTE FAILED **
[debug] [W3C] Testing started on 'PT’s iPhone 5s'. 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 (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:501:15)
[HTTP] <-- POST /wd/hub/session 500 8562 ms - 12359
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxx","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","webkitResponseTimeout":"180000","automationName":"XCUITest","noReset":"false","autoWebview":"true","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"12.2","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","
Id":"xxxxxxxx","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","webkitResponseTimeout":"180000","automationName":"XCUITest","noReset":"false","autoWebview":"true","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"12.2","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"},null,{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1556866041296 (12:17:21 GMT+0530 (India Standard Time))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","wdaStartupRetryInterval","xcodeOrgId","udid","webkitResponseTimeout","automationName","noReset","autoWebview","xcodeSigningId","newCommandTimeout","platformVersion","fullReset","shouldUseSingletonTestManager","waitForQuiescence","bundleId"] are not standard capabilities and should have an extension prefix
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] deviceName: 'iPhone'
[Appium] wdaStartupRetryInterval: 20000
[Appium] xcodeOrgId: xxxxxxx
[Appium] udid: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[Appium] webkitResponseTimeout: 180000
[Appium] automationName: XCUITest
[Appium] noReset: false
[Appium] autoWebview: true
[Appium] xcodeSigningId: iPhone Developer
[Appium] newCommandTimeout: 1200
[Appium] platformVersion: 12.2
[Appium] fullReset: false
[Appium] shouldUseSingletonTestManager: false
[Appium] waitForQuiescence: false
[Appium] bundleId: com.nokia.wifi
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"deviceName":"'iPhone'","w... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'autoWebview' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'waitForQuiescence' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('1200') to integer (1200). This may cause unexpected behavior
[BaseDriver] Capability 'wdaStartupRetryInterval' changed from string ('20000') to integer (20000). This may cause unexpected behavior
[BaseDriver] Capability 'webkitResponseTimeout' changed from string ('180000') to integer (180000). This may cause unexpected behavior
[BaseDriver] Session created with session id: 90deefc9-da21-4042-84da-15420303e665
[debug] [XCUITest] Current user: 'digitalhome'
[debug] [XCUITest] Available devices: c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35
[debug] [XCUITest] Creating iDevice object with udid 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35'
[XCUITest] Determining device to run tests on: udid: 'c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35', real device: true
[XCUITest] iOS SDK Version set to '12.2'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1556866041339 (12:17:21 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'appConfigured' logged at 1556866041339 (12:17:21 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1556866041339 (12:17:21 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1556866041340 (12:17:21 GMT+0530 (India Standard Time))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '/Users/digitalhome/Library/Logs/CrashReporter/MobileDevice/PT’s iPhone 5s' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1556866041494 (12:17:21 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Calling: 'ios-deploy --exists --id c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 --bundle_id com.nokia.wifi'
[debug] [XCUITest] Stdout: '[....] Waiting for iOS device to be connected
[debug] [XCUITest] [....] Using c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35 (N53AP, iPhone 5s (Global/CDMA), iphoneos, arm64) a.k.a. 'PT’s iPhone 5s'.
[debug] [XCUITest] true
[debug] [XCUITest] '
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
^X^C[Appium] Received SIGINT - shutting down
[XCUITest] Cannot retrieve WDA build settings. Original error: Command 'xcodebuild -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -showBuildSettings' exited with code null
[XCUITest] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[XCUITest] at validateString (internal/validators.js:125:11)
[XCUITest] at Object.normalize (path.js:1112:5)
[XCUITest] at XCUITestDriver.normalize [as startWda] (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:476:14)
^C
PTs-MacBook-Pro-N2:WebDriverAgent-master digitalhome$
PTs-MacBook-Pro-N2:WebDriverAgent-master digitalhome$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment