Appium: App launches and crashes in a loop

Hi Everyone,

As I’m new to Appium on IOS, I have done all the solutions I found on google but I couldn’t find the issue.

I’m facing this issue.
–> I have given the app path as .app file on simulator----Still fails
—> I have used .ipa file on real device— Still fails.

Every time the app opens and crashes on startup.

{code}
[INST STDERR] 2016-03-29 15:58:51.215 instruments[2825:122645] Attempting to change event horizon while disengage
2016-03-29 15:58:51.216 instruments[2825:125164] Attempting to change event horizon while disengage

info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: Failed looking up pid of launched process

info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
{code}

Could anyone help me with this please ?

Thanks in advance.

.app file could still be compiled for ARM instead of x86.[quote=“New_Tester, post:1, topic:9525”]
—> I have used .ipa file on real device— Still fails.
[/quote]

Can you post the full log from this?

Tick “native-instruments” in appium property to use native instruments.

Many thanks for your reply.
Sorry for the late reply, I have got solved with the help of developers…

  1. .app file on simulator: The .ipa file was build using the latest Xcode and .app file was build using the old Xcode so the simulator didn’t detect the .app file until updating the Xcode and building the .app for simulator.
  2. .ipa file on real device: The .ipa file was build for 9.3 OS versions and I was trying to install on 9.0.1OS version so I was facing issue in installing the file.
    Thanks again
    B