IOS App issue in loading the app in simulator

i am facing a problem with IOS app, when i am executing the script the App opens and then suddenly getting close, just like a flash. This happens when i am executing it in simulator. Can anyone update what can be the issue and how i can fix it.

Hi Gaurav,

It might be the issue with CFBundleSupportedPlatforms in the info.plist file of your app

You can ask your developer or if you are the developer change it on your own.

Go to info.plist file of your code and add one array “iPhoneSimulator” in CFBundleSupportedPlatforms

And then try to build the app again and run.

Hope it works.

Thanks Manish, Will try this and let u know.

Hi Manish, i have added the suggested changes but still getting the same issue when click on app icon it flashes and go away does not start.

What happens when you try to open the same app manually, i mean clicking on it by urself and not the automation ?

we are facing problem with both way manually and using automation while trying on simulator.

can you share the Console logs of katalon?

Screen Shot 2018-05-18 at 5.48.25 PM.png

1 Like

i am also facing the same issue please help me out guys

@Gaurav Mishra are you able to run the webdriveragent from your machine to iPhone?
If not then first you have to fix that error.

Following this might help

https://docs.katalon.com/display/KD/Mobile+on+macOS

@Manish Boricha ,Everything is setup as per the aforementioned document still i am getting error while doing spy operation

Screen Shot 2018-06-14 at 11.33.04 AM.png

Please refer to troubleshooting there:
https://docs.katalon.com/display/KD/Troubleshooting+automated+mobile+testing