I am trying to set up appium for an iOS app in my organization and the error logs are as follows:
MAC version-10.12
Appium v1.6.4-beta
[Appium] Welcome to Appium v1.6.4-beta
[Appium] Non-default server args:
[Appium] port: 4725
[Appium] Appium REST http interface listener started on 0.0.0.0:4725
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa",“platformVersion”:“10.2”,“automationName”:“xcuitest”,“browserName”:“ios”,“xcodeConfigFile”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig",“platformName”:“iOS”,“udid”:“d6ee40dcb1779aba7b0324d8ede975362e2a17c0”,“deviceName”:“Air 2”,“updatedWDABundleId”:“pankanis.appium-WebDriverAgentRunner”}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa",“platformVersion”:“10.2”,“automationName”:“xcuitest”,“browserName”:“ios”,“xcodeConfigFile”:"/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig",“platformName”:“iOS”,“udid”:“d6ee40dcb1779aba7b0324d8ede975362e2a17c0”,“deviceName”:“Air 2”,“updatedWDABundleId”:“pankanis.appium-WebDriverAgentRunner”},null,null,null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1490096403415 (17:10:03 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.20.0) session
[Appium] Capabilities:
[Appium] app: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa’
[Appium] platformVersion: ‘10.2’
[Appium] automationName: ‘xcuitest’
[Appium] browserName: ‘ios’
[Appium] xcodeConfigFile: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[Appium] platformName: ‘iOS’
[Appium] udid: ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’
[Appium] deviceName: ‘Air 2’
[Appium] updatedWDABundleId: ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] XCUITestDriver version: 2.20.0
[BaseDriver] Session created with session id: a16628bd-843f-4bc3-a66a-77dfb75aae04
[XCUITest] Xcode version set to ‘8.2.1’ (tools v8.0.0.0.1.1472435881)
[XCUITest] iOS SDK Version set to ‘10.2’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1490096405487 (17:10:05 GMT+0530 (IST))
[XCUITest] Available devices: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[XCUITest] Creating iDevice object with udid ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’
[XCUITest] Determining device to run tests on: udid: ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’, real device: true
[BaseDriver] Using local app ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/Application/MCRM-iOS-MCRMDEMO-1.0.ipa’
[BaseDriver] Copying local zip to tmp dir
[BaseDriver] Unzipping /var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/appium-app.zip
[BaseDriver] Testing zip archive: /var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’
[BaseDriver] Event ‘appConfigured’ logged at 1490096410145 (17:10:10 GMT+0530 (IST))
[XCUITest] Checking whether app ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’ is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’: ‘com.pankanis.demos.mcrm’
[BaseDriver] Event ‘resetStarted’ logged at 1490096410152 (17:10:10 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[BaseDriver] Event ‘resetComplete’ logged at 1490096410153 (17:10:10 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[BaseDriver] Event ‘logCaptureStarted’ logged at 1490096410570 (17:10:10 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Reset requested. Removing app with id ‘com.pankanis.demos.mcrm’ from the device
[XCUITest] Installing ‘/var/folders/4g/jzbb7vzn2lxdw0p34fwklmlwjy7xdc/T/2017221-401-3b4axu.ccyk0dlsor/Payload/MCRM_DEMO.app’ on device with UUID ‘d6ee40dcb1779aba7b0324d8ede975362e2a17c0’…
[XCUITest] The app has been installed successfully.
[BaseDriver] Event ‘appInstalled’ logged at 1490096421395 (17:10:21 GMT+0530 (IST))
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1490096421397 (17:10:21 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Successfully updated ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] Killing hanging processes
[XCUITest] Using Xcode configuration file: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d6ee40dcb1779aba7b0324d8ede975362e2a17c0 -configuration Debug -xcconfig /Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’ in directory ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[Xcode] 2017-03-21 17:10:28.939 xcodebuild[964:14211] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc9388aabe0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] 2017-03-21 17:10:28.940 xcodebuild[964:14211] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc938b426a0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[Xcode] The following build commands failed:
[Xcode] Check dependencies
[Xcode] (1 failure)
[Xcode]
[XCUITest] Log file for xcodebuild test: /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/B128F766-FC14-45EB-949E-E2113C5B58C9/Session-WebDriverAgentRunner-2017-03-21_171029-ULjP2W.log
[Xcode] 2017-03-21 17:10:29.075 xcodebuild[964:14258] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/B128F766-FC14-45EB-949E-E2113C5B58C9/Session-WebDriverAgentRunner-2017-03-21_171029-ULjP2W.log
[Xcode] 2017-03-21 17:10:29.075 xcodebuild[964:14209] [MT] IDETestOperationsObserverDebug: (9B26DEFD-409B-49FD-931E-28E46636CE2E) Beginning test session WebDriverAgentRunner-9B26DEFD-409B-49FD-931E-28E46636CE2E at 2017-03-21 17:10:29.074 with Xcode 8C1002 on target {
[Xcode] deviceSerialNumber: DMPQ1085G5WQ
[Xcode] identifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] deviceClass: iPad
[Xcode] deviceName: Air 2
[Xcode] deviceIdentifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] productVersion: 10.2
[Xcode] buildVersion: 14C5069c
[Xcode] deviceSoftwareVersion: 10.2 (14C5069c)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12174934016
[Xcode] deviceAvailableCapacity: 4384239616
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1,
[Xcode] 2
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] } (10.2 (14C5069c))
[Xcode]
[Xcode] 2017-03-21 17:10:29.140 xcodebuild[964:14209] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fc938eed810 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-03-21 17:10:29.140 xcodebuild[964:14209] Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[BaseDriver] Event ‘wdaStartFailed’ logged at 1490096429155 (17:10:29 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 963)
[XCUITest] iproxy exited with code ‘null’
[XCUITest] Successfully reset ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘com.facebook.WebDriverAgentRunner’
[XCUITest] Removing WDA application from device
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1490096439352 (17:10:39 GMT+0530 (IST))
[XCUITest] Using WDA path: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Successfully updated ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘pankanis.appium-WebDriverAgentRunner’
[XCUITest] Killing hanging processes
[XCUITest] Using Xcode configuration file: ‘/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=d6ee40dcb1779aba7b0324d8ede975362e2a17c0 -configuration Debug -xcconfig /Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig’ in directory ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[Xcode] 2017-03-21 17:10:45.443 xcodebuild[1003:14443] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc5c3e1e530 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] 2017-03-21 17:10:45.444 xcodebuild[1003:14443] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/WebDriverAgentRunner_iphoneos10.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc5c3b35550 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] ** TEST BUILD FAILED **
[Xcode]
[Xcode]
[Xcode] The following build commands failed:
[Xcode] Check dependencies
[Xcode] (1 failure)
[Xcode]
[XCUITest] Log file for xcodebuild test: /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/4AF250A3-85E5-4FED-AADD-1B3B802107DF/Session-WebDriverAgentRunner-2017-03-21_171045-bBsEPo.log
[Xcode] 2017-03-21 17:10:45.454 xcodebuild[1003:14428] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Logs/Test/4AF250A3-85E5-4FED-AADD-1B3B802107DF/Session-WebDriverAgentRunner-2017-03-21_171045-bBsEPo.log
[Xcode]
[Xcode] 2017-03-21 17:10:45.454 xcodebuild[1003:14425] [MT] IDETestOperationsObserverDebug: (094EC266-4506-458E-85A1-F8DA5A49090D) Beginning test session WebDriverAgentRunner-094EC266-4506-458E-85A1-F8DA5A49090D at 2017-03-21 17:10:45.453 with Xcode 8C1002 on target {
[Xcode] deviceSerialNumber: DMPQ1085G5WQ
[Xcode] identifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] deviceClass: iPad
[Xcode] deviceName: Air 2
[Xcode] deviceIdentifier: d6ee40dcb1779aba7b0324d8ede975362e2a17c0
[Xcode] productVersion: 10.2
[Xcode] buildVersion: 14C5069c
[Xcode] deviceSoftwareVersion: 10.2 (14C5069c)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 12174934016
[Xcode] deviceAvailableCapacity: 4384169984
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] deviceType:
[Xcode] supportedDeviceFamilies: (
[Xcode] 1,
[Xcode] 2
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] activityProgress: -2
[Xcode] activityTitle:
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] } (10.2 (14C5069c))
[Xcode]
[Xcode] 2017-03-21 17:10:45.465 xcodebuild[1003:14425] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/ronit.joardar/Library/Developer/Xcode/DerivedData/WebDriverAgent-gkixdewxboccnufprcbllaxhlbzt/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fc5c43293d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-03-21 17:10:45.465 xcodebuild[1003:14425] Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[BaseDriver] Event ‘wdaStartFailed’ logged at 1490096445477 (17:10:45 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 1001)
[XCUITest] iproxy exited with code ‘null’
[XCUITest] Successfully reset ‘/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj/project.pbxproj’ with bundle id ‘com.facebook.WebDriverAgentRunner’
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:368:15)
at tryCatch (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium copy.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 52335 ms - 230
capabilities set are:
cap.setCapability("deviceName", "Air 2");
cap.setCapability("platformName", "IOS");
cap.setCapability("platformVersion", "10.2");
cap.setCapability(CapabilityType.BROWSER_NAME, "ios");
cap.setCapability("automationName", "xcuitest");
cap.setCapability("bundleId", "com.pankanis.apps.osc");
cap.setCapability("xcodeConfigFile", "/Users/ronit.joardar/Documents/workspace/AppiumTest/appium.xcconfig");
cap.setCapability("udid", "d6ee40dcb1779aba7b0324d8ede975362e2a17c0");
cap.setCapability("updatedWDABundleId","pankanis.appium-WebDriverAgentRunner");
cap.setCapability(MobileCapabilityType.APP,app.getAbsolutePath());
Please help me with how I can solve this error, I have manually created updatedWDABundleId as it was mentioned as a resolution for this type of issue but it did not work.
Thanks in Advance!