Xcode:How to Set App to Be iPhone Only

Xcode : How To Set App To Be iPhone Only?

All iPhone applications can be run on the iPad as well, just not "fullscreen" (see image below). Applications can be designed for iPhone and iPad separately, or a universal app, which contains the resources for both iPhone and iPad (interfaces, device handling, etc.).

Sample Image

The user will notice a gray container around an application that is designed for iPhone. Universal apps will automatically choose the correct interface for the device.

In the iTunes Store, applications with a blue plus symbol beside the price are Universal applications:

Sample Image

How to publish an app only for iPhone and not to iPad?

In Xcode

  1. Choose your project from the Project Navigator
  2. Choose your app target
  3. Choose the "General" tab
  4. In the "Deployment Info" section, check only the iPhone device (uncheck iPad)

How to change iPhone/iPad app to iPhone only?

You have to change the Targeted device family. Select the project, then info-->Deployment--->Targeted device family to iPhone only and you have to do the same thing in targets. After that your app will be only for iPhone.

Good Luck!

How to Restrict the iOS app only for iPads on app store?

Choose your application name under Targets, then General tab.
Then in deployment info section, choose only iPad.

In the same area, you can restrict the device orientation as well.
Sample Image

How to Restrict the iOS app only for iPhone excluding iPad?

YES, yes, you CAN, set the UIRequiredDeviceCapabilities stating that the app requires telephony. This means it will only work on an iPhone. Please read more about it from the Apple Documentation here -

UIRequiredDeviceCapabilities - setting conditions so app store knows which devices to allow installation on

Within this page, search for UIRequiredDeviceCapabilites and it will tell you more from there.

I hope this helps anyone with this issue

How to restrict the app to iphone only and preserve this setting

Something that you could try is to set up the UIDeviceFamily in your project Info.plist. For this key, you could set 1 for iPhones or 2 for iPads. For example:

<key>UIDeviceFamily</key>
<array>
<integer>2</integer>
</array>

Is it possible to change the universal app to iphone only once it is uploaded to app store?

UIRequiredDeviceCapabilities would help you.

Put telephony value like this in info.plist (IPhone specific...)

Of course you need submit your app again.

UIRequiredDeviceCapabilities

UIRequiredDeviceCapabilities

UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities.

Sample Image

Is there a way to give an iOS app to one person through Xcode?

If you build the app directly to his phone, the app will expire after 1 week or 1 year depending if you have a free developer account or a paid account. If he has a Mac accessible, he could download Xcode and you could send him the source project for him to build it to his own phone.

You could also use Apple's TestFlight service, which requires a paid developer account. This is probably the easiest and most Apple-approved method, but the apps will expire after 60 days unless you submit an update.

You could use also use a third-party distribution service like HockeyApp or buddybuild.



Related Topics



Leave a reply



Submit