Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error showing : dyld_sim is not compatible with the loaded process

Tags:

xcode

ios

I have a source code of an app that is live in iPhone (for OS iOS 7 and before) and it is not supported in iOS 8.0 and later. When I tried to compile the code it is executing all the files fine, but it is throwing an architecture mismatch error.

In console:

dyld: dyld_sim is not compatible with the loaded process, likely due to architecture mismatch

I tried adding valid architectures (armv7 armv7s arm64) in Build settings for both iPhone and Xcode iOS simulators. Still doesn't fix the issue...

Please help me...

I am using Xcode 9.2.

Valid Architectures

like image 561
Venkatesh Chejarla Avatar asked Feb 07 '18 11:02

Venkatesh Chejarla


1 Answers

Follow the steps below. Hope it will work.....

  1. Change Deployment target to recent one like >= 9.0
  2. Select Standard architectures for Architectures from Build Settings> Architectures

enter image description here

enter image description here

like image 92
emraz Avatar answered Nov 01 '22 11:11

emraz