Display error when run spy mobile for iOS

Hi Katalon Expert,

I just try spy mobile for iOS but display error like bellow.


Please help me to solve this problem.

Hi @muhammad_saipul_rohm,

It’s been my experience that .ipa files don’t work on simulators. They are usually built for real device architectures and code signed. Do you have access to the unsigned .app file (usually this will be in the DerivedData directory that is configured in your Xcode->Preferences->Locations setting?

You can take a look at the architecture that an app was built for by following this post:

Hope this helps,

Chris

Hi @Chris_Trevarthen,
I already use .app file but display error message bellow :

Please help this problem.
Thanks

Hi @muhammad_saipul_rohm,

Could you please let me know what version of Xcode and Appium you’re using? Katalon Studio 5.10.x will support Xcode9.4 with Appium 1.8.1 and Xcode10 with Appium 1.8.2-beta.

The error you’re seeing seems to be related to some built-in Xcode commands not being able to run. Could you try running the following from your command line?

To see the location of the Xcode command line tools:
xcode-select -p

To see if the xcrun command mentioned in the error actually works:

xcrun --sdk iphonesimulator --show-sdk-version

Thanks,

Chris

Hi @Chris_Trevarthen,

Xcode version : 9.2
Appium version : 1.8.1

Here the result after i type command in terminal
image

Hi @muhammad_saipul_rohm,

Thanks for that info. The Xcode and Appium versions you listed should be supported. The command line results look fine, too. A couple of things I can recommend:

  1. Make sure you can launch Xcode and run the app on a simulator through Xcode
  2. In Katalon, try choosing a different simulator device instead of iPhone 4s
  3. Quit Katalon Studio, quit Xcode, and restart your machine - this sometimes works for me when I get stuck with a weird Katalon error.
  4. Install Xcode 9.4.1. I’m using this version along with Katalon Studio 5.10.1 and Appium 1.8.1 with success. NOTE: This isn’t the latest version of Xcode, so you’ll need to download this version of Xcode from: https://developer.apple.com/download/more/ instead of from the App Store.

Hope this helps,

Chris