33

I installed Xcode 9 and trying to run my app on ios simulator 11.0. As soon as it launches the app its crashing giving this error. What does this error mean? If my app is not compatible with ios11.0, how can I check for the compatibily?

EDIT - Uploaded my valid Architectures

enter image description here

enter image description here

nOOb iOS
  • 1,384
  • 2
  • 19
  • 37
  • can you please show complete error? – Gagan_iOS Sep 20 '17 at 14:07
  • This is the only line I could see in the debug console - dyld: dyld_sim not compatible mach-o crashes with SIGABRT – nOOb iOS Sep 20 '17 at 14:12
  • Did you figure out what is going on? I have the same issue. I think it is because a library doesn't support 64bit. I am still looking at it, not sure how to fix it – BoH Sep 21 '17 at 13:27
  • Yeah.. Even I think so, I am trying to update libraries.. Hopefully could run it once I upload the library.. – nOOb iOS Sep 21 '17 at 13:36

2 Answers2

53

You need to make these changes in build setting ... it works for me enter image description here

Abhishek Mishra
  • 1,625
  • 16
  • 32
  • 1
    @birdcage in your code you set the Alfa value that will be return 0 ,,, change it to 1. -- https://stackoverflow.com/questions/46441078/uiimage-view-is-not-showing-in-ios-11-how-to-solve/46541633#46541633 – Abhishek Mishra Oct 25 '17 at 10:51
7

I had the same problem and found out that the architectures and valid architectures settings for my targets (and pods) were set wrong. iOS 11 doesn't support 32bit applications anymore, so I guess that took part in my problem..,

I've deleted my architectures + valid architectures settings (made it default) and now it compiles and runs fine in both simulator and iOS 11 device. hope it helps u as well ;).

DaTa
  • 229
  • 1
  • 7