In the project pane in Xcode if you scroll down, there's a simple checkbox that enables iPhone and iPad support respectively. There are also options for orientations so you can lock certain orientations.
[doublepost=1513698462][/doublepost]Sorry, misremembered. Not a checkbox but a dropdown. Here's a screenshot
That helped... Thanks!
Is there a way to remove the support for iPad programmatically?
If you were to remove execution capability on the iPad via code, that would break expected behavior and like piss off your users.
You're welcome. What kind of app did you make and is it going live or is it practice or?
Unless your app uses telephony features, Apple will likely reject it if it does not run on an iPad. The reason? They have been known to use the 1X/2X iPhone emulation mode on an iPad to test app submissions. If it fails app review this way, it's a guaranteed rejection. Thus any app you submit has to at least run properly on the 1X/2X iPhone emulator that is built into iOS on every iPad.