0

Is there a way to know for which version of iOS a given application was compiled by inspecting its iOS binary or another file inside the app package?

thanks

Duck
  • 34,902
  • 47
  • 248
  • 470
  • 1
    Do you have just the binary, or the whole app package? Because if you have the package, the stuff in `Info.plist` would probably tell you. – Alex Wayne Oct 13 '13 at 19:08
  • AHA!!!! This is the only file I have not inspected. So, now I have learned that XCode 4.5 is able to compile to 4.x iOS!!!! Even if this choice is not on the deployment target list, just type the version you want it to be compiled! Thanks. Please add your comment as an answer, so I can accept. – Duck Oct 13 '13 at 19:19
  • 1
    Keep in mind that if you want to target iOS 4 because you still want to target `armv6` devices, just manually changing the deployment target isn't enough. You'll need to [do something like what I discuss in this answer](http://stackoverflow.com/a/13061562/119114). – Nate Oct 13 '13 at 21:04

1 Answers1

2

If you have the whole package, and not solely the compiled binary, one of the keys inside Info.plist would probably tell you.

Alex Wayne
  • 178,991
  • 47
  • 309
  • 337