Unable to start application in this device : Support for Xcode 0.0 is not supported


#1

Hi Katalon Team,
I am trying to run an .ipa App on my iOS simulator using Katalon studio. But every time I try running it, it gives me the following error :
Unable to start application on this device. Xcode version 0.0 : Support for Xcode 0.0 is not supported. Please upgrade to version 7.3 or higher.

The details are as under :
Appium version : 1.8.1
Katalon studio version : 5.7.1
Xcode version : Version 10.0 (10A255)

Any help will be highly appreciated.


#2

Hi Chand,

Katalon Studio doesn’t support Xcode 10 yet.

You’ll have to install an older version (9.4.1 is what I have) alongside Xcode 10. You can do this by going to https://developer.apple.com/download/more/ and downloading the older one.

You’ll be asked to “Keep Both” when you install - do that. I named mine “Xcode_9.4.app”. Then you’ll have to set the default version to the older version:

sudo xcode-select -s /Applications/Xcode_9.4.app/Contents/Developer

Enter your login/system password when prompted.

Now you can use Xcode 10 to develop, but still run Katalon Studio.

Hope this helps,

Chris


#3

Hey Chris,
Thanks again man. You are a savior. I am able to launch the iOS App from Katalon Studio now on iPhone simulator. But I think I am facing chain of issues at each progressive step, especially for iOS.

The other problem I am facing is :
The App terminates as soon as it launches. There are the following error messages that gets displayed :

[XCUITest] Simulator architecture appears to be unsupported by the ‘{App Path}’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.

ld exited with code ‘65’ and signal ‘null’

[XCUITest] Shutting down sub-processes

[XCUITest] WebDriverAgent uninstall failed. Perhaps, it is already uninstalled? Original error: {}[Appium] Welcome to Appium v1.8.1


#4

Hi Chand,

Usually an error 65 means that something wasn’t signed correctly, either in the WebDriverAgent (which Katalon/Appium uses to control actions on your device) or the app you’re trying to test itself.

First, I would make sure you follow the steps to make sure the WebDriverAgent is signed correctly:

https://www.mutuallyhuman.com/blog/2017/04/20/webdriveragent-getting-started-with-automated-ios-testing/

Next, I would check how the app you’re testing is built and signed. Unfortunately, you probably won’t be able to test a .ipa file because those are not created to be run on simulator architectures. Instead, you should try to test the .app file, which will be unsigned (you may need to get this directly from a developer).

Hope this helps,

Chris


#5

Hi Chris

My WebDriverAgent section has been built correctly . I picked up the .app file generated from the developer machine present in DerivedData folder of her app project.

But even then, I am getting the following error :

[XCUITest] Simulator architecture appears to be unsupported by the
‘{.app path on my machine}’ application. Make
sure the correct deployment target has been selected for its compilation
in Xcode.

[XCUITest] Don’t be surprised if the application fails to launch.

Kindly help on this like always.

Thanks in advance,

Chand


#6

Hi Chand,

I think the issue you’re seeing now is that an .app file can be built for a real device or a simulator (these have different architectures - arm vs. x86, respectively). In order to run the test on your simulator, your dev will need to build the .app file while selecting a simulator instead of a real device.

Alternatively, your developer may be able to build the app by setting “Build Active Architecture Only” to “No”.

To verify which architectures an .app is built for, you can run:

lipo -info path/to/MyApp.app/MyApp

- Chris


#7

Hi Chris,

I followed your suggestion of having two versions of XCode. But iOS devices which are running on 12 are not supported with XCode 9.4.1. In this case what needs to be done .

i get this error everytime i try to run the build from command line.
NSLocalizedRecoverySuggestion = “This iPhone 6s Plus is running iOS 12.1 (16B92), which may not be supported by this version of Xcode.”;

Please throw some light on this.

Thanks & Regards,
Prashanth Thiruvaskur


#8

Hi Prashanth,

Unfortunately, you’re correct that you can’t run the tests on an iOS 12 device because those simulators require Xcode 10 to be the active version. If you want to run the tests, you’ll only be able to run them on iOS 11 and lower devices until Katalon Studio supports Xcode 10.

– Chris


#9

Thanks for the reply Chris. Any information on when Katalon is going to support XCODE 10. As this will definitely stall my PoC moving further using katalon. Rather should find another option.


#10

Hi Prashanth, I don’t have any insight into the support roadmap for Xcode 10 or Appium 1.9, but I’m trying to find out. :crossed_fingers:

– Chris