# I cannot use Katalon to test on iOS devices (Error code 65)

**URL:** <https://forum.katalon.com/t/i-cannot-use-katalon-to-test-on-ios-devices-error-code-65/59707>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [November 2, 2021, 3:19pm UTC](https://forum.katalon.com/t/i-cannot-use-katalon-to-test-on-ios-devices-error-code-65/59707 "2021-11-02T15:19:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph.salib](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/joseph.salib/32/16104_2.png) [@joseph.salib](https://forum.katalon.com/u/joseph.salib)\
**Post date:** [November 2, 2021, 3:19pm UTC](https://forum.katalon.com/t/i-cannot-use-katalon-to-test-on-ios-devices-error-code-65/59707/1 "2021-11-02T15:19:55Z")

</div>

I am trying to use Katalon to perform automated testing on my iOS device, but I keep receiving this error no matter what I do:

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:

2021-11-02 16:07:05.812 xcodebuild[5167:99421] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner\_iphoneos14.4-arm64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/josephsalib/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/WebDriverAgentRunner\_iphoneos14.4-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa15eb9ec90 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}

Here are the details of my system:  
MacOS version: Catalina 10.15.7  
iOS device: iPhone X (iOS 14.3)  
Katalon version: 8.1.0  
Appium version: 1.22.0  
XCode version: 12.4 (12D4e)
