Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65

While doing mobile object spy for an IOS device, I got below error. Please help me to resolve it and please let me know if you need any other information.

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:

2019-10-30 17:21:55.706 xcodebuild[38601:344841] Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory” UserInfo={NSLocalizedFailureReason=No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”., NSURL=file:///Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app/, NSFilePath=/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app, NSLocalizedDescription=The bundle identifier for IntegrationApp.app couldn’t be read.}

Test session results, code coverage, and logs:

/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2019.10.30_17-21-55-+0530.xcresult

Testing started on ‘iPhoneXR’

Testing failed:

Signing for “IntegrationApp” requires a development team. Select a development team in the Signing & Capabilities editor.

WebDriverAgentRunner:

The test runner encountered an error (Failed to install or launch the test runner. (Underlying error: The bundle identifier for IntegrationApp.app couldn’t be read. No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”.))

** 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: ‘Ideabytes-2.local’, ip: ‘fe80:0:0:0:18c2:18c5:5909:a9cc%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.5’, 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:

2019-10-30 17:21:55.706 xcodebuild[38601:344841] Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory” UserInfo={NSLocalizedFailureReason=No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”., NSURL=file:///Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app/, NSFilePath=/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app, NSLocalizedDescription=The bundle identifier for IntegrationApp.app couldn’t be read.}

Test session results, code coverage, and logs:

/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2019.10.30_17-21-55-+0530.xcresult

Testing started on ‘iPhoneXR’

Testing failed:

Signing for “IntegrationApp” requires a development team. Select a development team in the Signing & Capabilities editor.

WebDriverAgentRunner:

The test runner encountered an error (Failed to install or launch the test runner. (Underlying error: The bundle identifier for IntegrationApp.app couldn’t be read. No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”.))

** 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: ‘Ideabytes-2.local’, ip: ‘fe80:0:0:0:18c2:18c5:5909:a9cc%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.5’, 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:

2019-10-30 17:21:55.706 xcodebuild[38601:344841] Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory” UserInfo={NSLocalizedFailureReason=No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”., NSURL=file:///Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app/, NSFilePath=/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app, NSLocalizedDescription=The bundle identifier for IntegrationApp.app couldn’t be read.}

Test session results, code coverage, and logs:

/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2019.10.30_17-21-55-+0530.xcresult

Testing started on ‘iPhoneXR’

Testing failed:

Signing for “IntegrationApp” requires a development team. Select a development team in the Signing & Capabilities editor.

WebDriverAgentRunner:

The test runner encountered an error (Failed to install or launch the test runner. (Underlying error: The bundle identifier for IntegrationApp.app couldn’t be read. No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”.))

** 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: ‘Ideabytes-2.local’, ip: ‘fe80:0:0:0:18c2:18c5:5909:a9cc%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.5’, 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:

2019-10-30 17:21:55.706 xcodebuild[38601:344841] Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory” UserInfo={NSLocalizedFailureReason=No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”., NSURL=file:///Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app/, NSFilePath=/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app, NSLocalizedDescription=The bundle identifier for IntegrationApp.app couldn’t be read.}

Test session results, code coverage, and logs:

/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2019.10.30_17-21-55-+0530.xcresult

Testing started on ‘iPhoneXR’

Testing failed:

Signing for “IntegrationApp” requires a development team. Select a development team in the Signing & Capabilities editor.

WebDriverAgentRunner:

The test runner encountered an error (Failed to install or launch the test runner. (Underlying error: The bundle identifier for IntegrationApp.app couldn’t be read. No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”.))

** 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: ‘Ideabytes-2.local’, ip: ‘fe80:0:0:0:18c2:18c5:5909:a9cc%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.5’, 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.<init>(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)

at io.appium.java_client.ios.IOSDriver.<init>(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 com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)

… 2 more

Caused by: java.lang.reflect.InvocationTargetException

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)

… 20 more

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:

2019-10-30 17:21:55.706 xcodebuild[38601:344841] Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory” UserInfo={NSLocalizedFailureReason=No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”., NSURL=file:///Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app/, NSFilePath=/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app, NSLocalizedDescription=The bundle identifier for IntegrationApp.app couldn’t be read.}

Test session results, code coverage, and logs:

/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2019.10.30_17-21-55-+0530.xcresult

Testing started on ‘iPhoneXR’

Testing failed:

Signing for “IntegrationApp” requires a development team. Select a development team in the Signing & Capabilities editor.

WebDriverAgentRunner:

The test runner encountered an error (Failed to install or launch the test runner. (Underlying error: The bundle identifier for IntegrationApp.app couldn’t be read. No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”.))

** 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: ‘Ideabytes-2.local’, ip: ‘fe80:0:0:0:18c2:18c5:5909:a9cc%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.5’, 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:

2019-10-30 17:21:55.706 xcodebuild[38601:344841] Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory” UserInfo={NSLocalizedFailureReason=No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”., NSURL=file:///Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app/, NSFilePath=/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app, NSLocalizedDescription=The bundle identifier for IntegrationApp.app couldn’t be read.}

Test session results, code coverage, and logs:

/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2019.10.30_17-21-55-+0530.xcresult

Testing started on ‘iPhoneXR’

Testing failed:

Signing for “IntegrationApp” requires a development team. Select a development team in the Signing & Capabilities editor.

WebDriverAgentRunner:

The test runner encountered an error (Failed to install or launch the test runner. (Underlying error: The bundle identifier for IntegrationApp.app couldn’t be read. No such file or directory: “/Users/varun/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphoneos/IntegrationApp.app”.))

** 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)

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)

at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)

at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)

… 21 more

i’m getting the below error, any idea?
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-01-09 17:54:20.264 xcodebuild[24949:242739] [MT] IDETestOperationsObserverDebug: (9A1485CD-368B-40A0-8C2E-D1D14D652728) Beginning test session WebDriverAgentRunner-9A1485CD-368B-40A0-8C2E-D1D14D652728 at 2020-01-09 17:54:20.263 with Xcode 11C29 on target :iphone:<DVTiOSDevice (0x7ff2b84f11b0), xamarin’s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> {
deviceSerialNumber: F18QL8EGGRY7
identifier: 940fd66eaa20b5cc1009af6c96b06e249ea9b803
deviceClass: iPhone
deviceName: xamarin’s iPhone
deviceIdentifier: 940fd66eaa20b5cc1009af6c96b06e249ea9b803
productVersion: 13.3
buildVersion: 17C54
deviceSoftwareVersion: 13.3 (17C54)
deviceArchitecture: arm64
deviceTotalCapacity: 11020255232
deviceAvailableCapacity: 3655864320
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7ff2b86ac8e0 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
hasWritableSystem: NO
isSupportedOS: YES
developerPrepErrors:
Error Domain=com.apple.platform.iphoneos Code=5 “:iphone:<DVTiOSDevice (0x7ff2b84f11b0), xamarin’s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> – Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.” UserInfo={NSLocalizedDescription=:iphone:<DVTiOSDevice (0x7ff2b84f11b0), xamarin’s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> – Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode., NSLocalizedFailureReason=allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7ff2b5d35fe0:‘com.apple.platform.iphoneos’:DVTFilePath:0x7ff2b5d35ec0:’/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform’>. DTDKDeviceIdentifierIsIDID: 0}
{

NSLocalizedDescription = "\Ud83d\Udcf1<DVTiOSDevice (0x7ff2b84f11b0), xamarin\U2019s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> -- Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.";
NSLocalizedFailureReason = "allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7ff2b5d35fe0:'com.apple.platform.iphoneos':<DVTFilePath:0x7ff2b5d35ec0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>. DTDKDeviceIdentifierIsIDID: 0";

}
developerPrepWarnings:
Error Domain=com.apple.platform.iphoneos Code=5 “:iphone:<DVTiOSDevice (0x7ff2b84f11b0), xamarin’s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> – Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.” UserInfo={NSLocalizedDescription=:iphone:<DVTiOSDevice (0x7ff2b84f11b0), xamarin’s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> – Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode., NSLocalizedFailureReason=allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7ff2b5d35fe0:‘com.apple.platform.iphoneos’:DVTFilePath:0x7ff2b5d35ec0:’/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform’>. DTDKDeviceIdentifierIsIDID: 0}
{
NSLocalizedDescription = “\Ud83d\Udcf1<DVTiOSDevice (0x7ff2b84f11b0), xamarin\U2019s iPhone, iPhone, 13.3 (17C54), 940fd66eaa20b5cc1009af6c96b06e249ea9b803> – Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode.”;
NSLocalizedFailureReason = “allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7ff2b5d35fe0:‘com.apple.platform.iphoneos’:DVTFilePath:0x7ff2b5d35ec0:’/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform’>. DTDKDeviceIdentifierIsIDID: 0”;
}
bootArgs: (null)
nextBootArgs: (null)
connected: YES
isWirelessEnabled: YES
connectionType: direct
hostname: (null)
bonjourServiceName: 38:71:de:24:11:19@fe80::3a71:deff:fe24:1119._apple-mobdev2._tcp.local.
activeProxiedDevice: (null)
} (13.3 (17C54))
2020-01-09 17:54:20.424 xcodebuild[24949:242739] [MT] IDETestOperationsObserverDebug: (9A1485CD-368B-40A0-8C2E-D1D14D652728) Finished requesting crash reports. Continuing with testing.
*** If you believe this error represents a bug, please attach the result bundle at /Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.01.09_17-54-18-+0200.xcresult
2020-01-09 17:54:20.749 xcodebuild[24949:242739] [MT] IDETestOperationsObserverDebug: 0.495 elapsed – Testing started completed.
2020-01-09 17:54:20.749 xcodebuild[24949:242739] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
2020-01-09 17:54:20.749 xcodebuild[24949:242739] [MT] IDETestOperationsObserverDebug: 0.495 sec, +0.495 sec – end
2020-01-09 17:54:20.751 xcodebuild[24949:242739] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7ff2b88837c0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
Test session results, code coverage, and logs:
/Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.01.09_17-54-18-+0200.xcresult
Testing started on ‘xamarin’s 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 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.
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the Signing & Capabilities editor.

You need to rebuild WebDriverAgent. Please follow this doc: https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html

thank you, i will try it and get back to you

@duyluong as checked, the appleID that i’m using is a developer ID, and in the “WebdriverAgentRunner” i already set a development team in the signing and capabilities. note that the build in the Xcode is a success, but i’m still getting the same issue

Hi,
how is it?

I’m getting this error
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: Command ‘carthage bootstrap --platform iOS,tvOS’ exited with code 1