Universal App, compiled just for iPhone

Discussion in 'iOS Programming' started by wlh99, Feb 19, 2011.

  1. wlh99 macrumors 6502

    Joined:
    Feb 7, 2008
    #1
    I have a universal app I am working on with different xibs for the iPhone and iPad. It works as a universal app, but I'm not yet done with the iPad part of the development.

    Since I am against a deadline, I'd like to save the iPad support for a future release. How can I disable that part of the app? It seems I should be able to just change a plist and leave the files in the project. However deleting the "Main nib file base name(iPad)" didn't do the trick.
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    If you don't copy the iPad xib into the bundle during the build (uncheck the include-in-target checkbox) the app can't use it. But removing it from the plist, setting the app to iPhone only in the target Build settings, and doing a clean build should have worked as well.
     

Share This Page