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
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.