I am hoping to get some help to figure out where I am going wrong with my setup to get my iOS testing going with Katalon. I am running on a Mac mini, macOS Mojave 10.14.6, Katalon 7.2.1, Appium 1.14.0, xCode 11.3.1, node 13.8.0, npm 6.13.7. I had WebDriver on my device but now it is gone and I am not sure why. I tried updating npm because I was getting an error that it wouldn’t support my node. I also tried to update appium where terminal says I am on version 1.16.0 while when I check in the application it is 1.15.0. I get that my builds succeed in Xcode and I can see my device in Katalon, but I get the following error messages. Did I miss an update or install somewhere? Any help would be greatly appreciated.
java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
2020-02-12 16:05:02.963 xcodebuild[49988:2311745] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa6e1fba6d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
** TEST BUILD FAILED **
2020-02-12 16:05:02.980 xcodebuild[49988:2311781] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8D21E50A-44FC-4A9A-9E5F-9616C9C5FA45/WebDriverAgentRunner-0947467C-CFAA-4884-94FD-153D771ABE91/Session-WebDriverAgentRunner-2020-02-12_160502-MwgwYt.log
2020-02-12 16:05:02.983 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Beginning test session WebDriverAgentRunner-84FD3394-31F2-4820-803F-F7BD31130446 at 2020-02-12 16:05:02.982 with Xcode 11C504 on target <DVTiOSDevice (0x7fa6e2601760), iPhone, iPhone, 13.3.1 (17D50), > {
deviceSerialNumber: F2LW1R94JCLG
identifier: c
deviceClass: iPhone
deviceName: iPhone
deviceIdentifier:
productVersion: 13.3.1
buildVersion: 17D50
deviceSoftwareVersion: 13.3.1 (17D50)
deviceArchitecture: arm64
deviceTotalCapacity: 58426900480
deviceAvailableCapacity: 54174806016
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7fa6e1fa3220 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
hasWritableSystem: NO
isSupportedOS: YES
bootArgs: (null)
nextBootArgs: (null)
connected: YES
isWirelessEnabled: NO
connectionType: direct
hostname: (null)
bonjourServiceName: b8:c1:11:e0:09:c4@fe80::bac1:11ff:fee0:9c4._apple-mobdev2._tcp.local.
activeProxiedDevice: (null)
} (13.3.1 (17D50))
2020-02-12 16:05:03.096 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 elapsed – Testing started completed.
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
2020-02-12 16:05:03.115 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 sec, +0.139 sec – end
2020-02-12 16:05:03.117 xcodebuild[49988:2311742] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa6e24830f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
Testing started on ’ iPhone’
Testing failed:
Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the Signing & Capabilities editor.
WebDriverAgentRunner:
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)))
** TEST EXECUTE FAILED **. Make sure you follow the tutorial at appium-xcuitest-driver/real-device-config.md at master · appium/appium-xcuitest-driver · GitHub. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘OSXIOSTEST.local’, ip: ‘fe80:0:0:0:4b4:929d:34a1:7ec3%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
2020-02-12 16:05:02.963 xcodebuild[49988:2311745] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa6e1fba6d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
** TEST BUILD FAILED **
2020-02-12 16:05:02.980 xcodebuild[49988:2311781] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8D21E50A-44FC-4A9A-9E5F-9616C9C5FA45/WebDriverAgentRunner-0947467C-CFAA-4884-94FD-153D771ABE91/Session-WebDriverAgentRunner-2020-02-12_160502-MwgwYt.log
2020-02-12 16:05:02.983 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Beginning test session WebDriverAgentRunner-84FD3394-31F2-4820-803F-F7BD31130446 at 2020-02-12 16:05:02.982 with Xcode 11C504 on target <DVTiOSDevice (0x7fa6e2601760), iPhone, iPhone, 13.3.1 (17D50), 149c> {
deviceSerialNumber: F2LW1R94JCLG
identifier: 9c
deviceClass: iPhone
deviceName: iPhone
deviceIdentifier: 9c
productVersion: 13.3.1
buildVersion: 17D50
deviceSoftwareVersion: 13.3.1 (17D50)
deviceArchitecture: arm64
deviceTotalCapacity: 58426900480
deviceAvailableCapacity: 54174806016
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7fa6e1fa3220 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
hasWritableSystem: NO
isSupportedOS: YES
bootArgs: (null)
nextBootArgs: (null)
connected: YES
isWirelessEnabled: NO
connectionType: direct
hostname: (null)
bonjourServiceName: b8:c1:11:e0:09:c4@fe80::bac1:11ff:fee0:9c4._apple-mobdev2._tcp.local.
activeProxiedDevice: (null)
} (13.3.1 (17D50))
2020-02-12 16:05:03.096 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 elapsed – Testing started completed.
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
2020-02-12 16:05:03.115 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 sec, +0.139 sec – end
2020-02-12 16:05:03.117 xcodebuild[49988:2311742] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa6e24830f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
Testing started on ‘Foundations iPhone’
Testing failed:
Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the Signing & Capabilities editor.
WebDriverAgentRunner:
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)))
** TEST EXECUTE FAILED **. Make sure you follow the tutorial at appium-xcuitest-driver/real-device-config.md at master · appium/appium-xcuitest-driver · GitHub. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘OSXIOSTEST.local’, ip: ‘fe80:0:0:0:4b4:929d:34a1:7ec3%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:474)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
2020-02-12 16:05:02.963 xcodebuild[49988:2311745] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa6e1fba6d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
** TEST BUILD FAILED **
2020-02-12 16:05:02.980 xcodebuild[49988:2311781] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8D21E50A-44FC-4A9A-9E5F-9616C9C5FA45/WebDriverAgentRunner-0947467C-CFAA-4884-94FD-153D771ABE91/Session-WebDriverAgentRunner-2020-02-12_160502-MwgwYt.log
2020-02-12 16:05:02.983 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Beginning test session WebDriverAgentRunner-84FD3394-31F2-4820-803F-F7BD31130446 at 2020-02-12 16:05:02.982 with Xcode 11C504 on target "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa6e24830f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
Testing started on ‘Foundations iPhone’
Testing failed:
Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the Signing & Capabilities editor.
WebDriverAgentRunner:
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)))
** TEST EXECUTE FAILED **. Make sure you follow the tutorial at appium-xcuitest-driver/real-device-config.md at master · appium/appium-xcuitest-driver · GitHub. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘OSXIOSTEST.local’, ip: ‘fe80:0:0:0:4b4:929d:34a1:7ec3%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
2020-02-12 16:05:02.963 xcodebuild[49988:2311745] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa6e1fba6d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
** TEST BUILD FAILED **
2020-02-12 16:05:02.980 xcodebuild[49988:2311781] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8D21E50A-44FC-4A9A-9E5F-9616C9C5FA45/WebDriverAgentRunner-0947467C-CFAA-4884-94FD-153D771ABE91/Session-WebDriverAgentRunner-2020-02-12_160502-MwgwYt.log
2020-02-12 16:05:02.983 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Beginning test session WebDriverAgentRunner-84FD3394-31F2-4820-803F-F7BD31130446 at 2020-02-12 16:05:02.982 with Xcode 11C504 on target <s:
debuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 elapsed – Testing started completed.
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
2020-02-12 16:05:03.115 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 sec, +0.139 sec – end
2020-02-12 16:05:03.117 xcodebuild[49988:2311742] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa6e24830f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
Testing started on ‘Foundations iPhone’
Testing failed:
Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the Signing & Capabilities editor.
WebDriverAgentRunner:
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)))
** TEST EXECUTE FAILED **. Make sure you follow the tutorial at appium-xcuitest-driver/real-device-config.md at master · appium/appium-xcuitest-driver · GitHub. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘OSXIOSTEST.local’, ip: ‘fe80:0:0:0:4b4:929d:34a1:7ec3%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:495)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:191)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:479)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)
at c
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
2020-02-12 16:05:02.963 xcodebuild[49988:2311745] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa6e1fba6d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
** TEST BUILD FAILED **
2020-02-12 16:05:02.980 xcodebuild[49988:2311781] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8D21E50A-44FC-4A9A-9E5F-9616C9C5FA45/WebDriverAgentRunner-0947467C-CFAA-4884-94FD-153D771ABE91/Session-WebDriverAgentRunner-2020-02-12_160502-MwgwYt.log
2020-02-12 16:05:02.983 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Beginning test session WebDriverAgentRunner-84FD3394-31F2-4820-803F-F7BD31130446 at 2020-02-12 16:05:02.982 with Xcode 11C504 on target <DVTiOSDevice (0x7fa6e2601760), Foundations iPhone, iPhone, 13.3.1 (17D50), 1ce8beb041c5b07e46685a4bba66f8697f43b49c> {
deviceSerialNumber: F2LW1R94JCLG
identifier: 1ce8beb041c5b07e46685a4bba66f8697f43b49c
deviceClass: iPhone
deviceName: Foundations iPhone
deviceIdentifier: 1ce8beb041c5b07e46685a4bba66f8697f43b49c
productVersion: 13.3.1
buildVersion: 17D50
deviceSoftwareVersion: 13.3.1 (17D50)
deviceArchitecture: arm64
deviceTotalCapacity: 58426900480
deviceAvailableCapacity: 54174806016
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7fa6e1fa3220 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
hasWritableSystem: NO
isSupportedOS: YES
bootArgs: (null)
nextBootArgs: (null)
connected: YES
isWirelessEnabled: NO
connectionType: direct
hostname: (null)
bonjourServiceName: b8:c1:11:e0:09:c4@fe80::bac1:11ff:fee0:9c4._apple-mobdev2._tcp.local.
activeProxiedDevice: (null)
} (13.3.1 (17D50))
2020-02-12 16:05:03.096 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 elapsed – Testing started completed.
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
2020-02-12 16:05:03.115 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 sec, +0.139 sec – end
2020-02-12 16:05:03.117 xcodebuild[49988:2311742] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa6e24830f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
Testing started on ‘Foundations iPhone’
Testing failed:
Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the Signing & Capabilities editor.
WebDriverAgentRunner:
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)))
** TEST EXECUTE FAILED **. Make sure you follow the tutorial at appium-xcuitest-driver/real-device-config.md at master · appium/appium-xcuitest-driver · GitHub. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘OSXIOSTEST.local’, ip: ‘fe80:0:0:0:4b4:929d:34a1:7ec3%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
2020-02-12 16:05:02.963 xcodebuild[49988:2311745] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa6e1fba6d0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
** TEST BUILD FAILED **
2020-02-12 16:05:02.980 xcodebuild[49988:2311781] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8D21E50A-44FC-4A9A-9E5F-9616C9C5FA45/WebDriverAgentRunner-0947467C-CFAA-4884-94FD-153D771ABE91/Session-WebDriverAgentRunner-2020-02-12_160502-MwgwYt.log
2020-02-12 16:05:02.983 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Beginning test session WebDriverAgentRunner-84FD3394-31F2-4820-803F-F7BD31130446 at 2020-02-12 16:05:02.982 with Xcode 11C504 on target <DVTiOSDevice (0x7fa6e2601760), iPhone, iPhone, 13.3.1 (17D50), > {
deviceSerialNumber: F2LW1R94JCLG
identifier: 1ce8beb041c5b07e46685a4bba66f8697f43b49c
deviceClass: iPhone
deviceName:
deviceIdentifier:
productVersion: 13.3.1
buildVersion: 17D50
deviceSoftwareVersion: 13.3.1 (17D50)
deviceArchitecture: arm64
deviceTotalCapacity: 58426900480
deviceAvailableCapacity: 54174806016
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7fa6e1fa3220 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
hasWritableSystem: NO
isSupportedOS: YES
bootArgs: (null)
nextBootArgs: (null)
connected: YES
isWirelessEnabled: NO
connectionType: direct
hostname: (null)
bonjourServiceName: b8:c1:11:e0:09:c4@fe80::bac1:11ff:fee0:9c4._apple-mobdev2._tcp.local.
activeProxiedDevice: (null)
} (13.3.1 (17D50))
2020-02-12 16:05:03.096 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: (84FD3394-31F2-4820-803F-F7BD31130446) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 elapsed – Testing started completed.
2020-02-12 16:05:03.114 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
2020-02-12 16:05:03.115 xcodebuild[49988:2311742] [MT] IDETestOperationsObserverDebug: 0.139 sec, +0.139 sec – end
2020-02-12 16:05:03.117 xcodebuild[49988:2311742] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fa6e24830f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/auto/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_16-05-02–0500.xcresult
Testing started on ‘Foundations iPhone’
Testing failed: