Make an iPhone specific app work on iPad to meet Apple requirements

12,597

Solution 1

Start by figuring out why your app doesn't work on the iPad already. Most apps developed for the iPhone will work fine on an iPad (in compatibility mode) with no modification; if yours doesn't, you must be doing something to prevent it. Are you relying on some hardware feature? Making unfounded assumptions about the device you're running on? How does your app fail when run on an iPad?

Once you've figured out why it doesn't work, you'll be much closer than you are now to fixing the problem.

Solution 2

To get your app to run on an iPad in iPhone compatibility mode, you need to build your app for iPhone only.

Remove all the iPad references from the app's plist (nib base, xib and storyboard), and from the Target Build Settings Targeted Device Family.

Solution 3

I had the same issue, I was able to run my app on the ipad after making the following changes.

  1. in the project settings made the Devices to iPhone(it was universal before)
  2. in the .plist removed the main story board file base name related to ipad.

Solution 4

I have solved same issue using this scenario.

You should check for normal and retina images in your resources folder.

You may also get this error while debugging Could not load the "image.png" image referenced from a nib in the bundle with identifier.

A normal iPhone app must run on the iPad in both(1x and 2x) mode without modification. You can check this with the SDK Simulator.

There is a long list in the App Store Review Guidelines on Apple's iOS Developer Portal Center which lists many of the things that Apple reviews this things when you submit an app. Read it carefully.

Share:
12,597
Sean
Author by

Sean

Updated on June 14, 2022

Comments

  • Sean
    Sean almost 2 years

    My app has been in the AppStore for a couple of months now and always only worked on iPhone. I recently submitted an update which was rejected because the App does not run on an iPad. The exact reason it was rejected was:

    Reasons for Rejection: 2.10: iPhone apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution

    What do I need to do in Xcode to make my app run on an iPad in the little box with the 2X icon?

    Any tips instructions will be massively appreciated...

    EDIT This is my info.plist. This is my first App and I think I did initially chose to set it up with "universal" selected. Is there an easy way back for me to rectify this now?

    PLIST contents...