IOS-Could not launch the .ipa file ,Getting error : Program specified by service does not contain one of the requested architectures: X

Hi All,

I just started exploring the appium + IOS, I have installed all pre rquisites and i have tested the setup using appium-doctor and setup is all set. when i start my app inspector /when i execute my script, Simulator is trying to open the app and closing it , it is just flashing the screen and after 3 attempts i have noticed the below error message,

Any help is reeally appreciated

[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 MUMDT0053 assertiond[79300]: assertion failed: 15C50 13C75: assertiond + 12188 [8CF1968D-3466-38B7-B225-3F6F5B64C552]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 — last message repeated 1 time —
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 MUMDT0053 com.apple.CoreSimulator.SimDevice.9030E067-084B-45C6-A721-DD7591834B28.launchd_sim[79279] (UIKitApplication:com.dummy.test.app.remote.v2[0x96a7][79510]): Program specified by service does not contain one of the requested architectures: X
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 MUMDT0053 SpringBoard[79296]: Unable to get pid for ‘UIKitApplication:com.dummy.test.app.remote.v2[0x96a7]’: No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 MUMDT0053 SpringBoard[79296]: Bootstrapping failed for <FBApplicationProcess: 0x7f930aa88ad0; com.dummy.test.app.remote.v2; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 MUMDT0053 SpringBoard[79296]: [FBSystemService] Error launching com.dummy.test.app.remote.v2: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 — last message repeated 1 time —
[iOSLog] [IOS_SYSLOG_ROW] Apr 22 00:29:36 MUMDT0053 SpringBoard[79296]: Application ‘UIKitApplication:com.dummy.test.app.remote.v2[0x96a7]’ exited voluntarily.

Thanks
RajendraC

@mrajendrac You have to use simulator compiled .app file. ipa file cant be used with simulator.

Thanks Harshit,

one more help required , Can we use .ipa file using real IOS Device?

Thanks
RajendraC

Yes, you can use an ipa file with a tethered iOS device, provided the ipa file is signed with a Development identity.

I understand that this is an old post but I ran into this same issue today. Why does Appium not catch this condition and display an error? That would be better then waiting for an error message that requires a forum post to decipher.