68

I'm having trouble understanding the specific requirements in the info.plist file in my app. Should I change it at all, or are the default settings typically the "correct" options?

Specifically, the entry: APPLICATION REQUIRES IPHONE ENVIRONMENT

If set to yes, does that imply only an iPhone is capable of running my app, meaning an iPod Touch or iPad won't be able to run the app?

1 Answer 1

123

Here's Apple's documentation on the "LSRequiresiPhoneOS" bits of an application's info.plist file.

Basically all it means is that the app is designed to run under iOS. This flag should be set to YES no matter if the target device is an iPhone, iPod Touch or iPad.

Who knows, maybe in the not-so-distant future, MacOS will be able to run iOS apps (or vice versa)?

6
  • 8
    or (speculating) Apple TV could get in the mix there
    – bshirley
    Commented May 24, 2013 at 16:53
  • 4
    Isn't this an artifact of the very early days of "iPhoneOS", when iPods were sold without it, but could be upgraded to iPhoneOS, and allow them to use the new App Store? I don't think it's about future possibilities.
    – Nate
    Commented Oct 17, 2014 at 9:34
  • 4
    ^ Seems more likely given the oddly misleading name. I'd imagine everyone landed here because they were worried this meant their application wouldn't work on an iPad Commented Jan 20, 2016 at 5:24
  • 11
    Nice prediction there :)
    – marczellm
    Commented Oct 1, 2019 at 8:58
  • 16
    And it's 2020 and we now know ARM MacBooks will be able to run iOS apps ;)
    – Kacper Cz
    Commented Aug 3, 2020 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.