0

I have built a universal iOS-app. The iPhone part is ready to go, the iPad part still needs more work and should not be shipped.

How can I build a version of this project resulting in a binary that only contains the iPhone version?

Simply removing "Main storyboard file base name (iPad)" in info.plist does not seem enough

trojanfoe
  • 120,358
  • 21
  • 212
  • 242
murze
  • 4,015
  • 8
  • 43
  • 70

3 Answers3

3

In your Target's 'summary' page (click Project in left panel, select Target, then choose Summary tab), set the Devices pulldown to iPhone. Previously it would have been 'Universal'. The binary will still contain the iPad data, but iPad users won't be able to install it and it'll be marked as iPhone-only on the App Store.

enter image description here

Ben Clayton
  • 80,996
  • 26
  • 120
  • 129
1

In Target -> Summary you can select Device -> iPhone

In Build Setting -> Target Device Family select iPhone only

This should solve your problem.

Kamleshwar
  • 2,967
  • 1
  • 25
  • 27
1

In info.plist file delete the row named Main storyboard file base name.

Also change the Target Device Family to iPhone

Ashish P
  • 1,463
  • 1
  • 20
  • 29