Q:

iPad App Keeps Running as an iPhone App? 

I recently upgraded XCode to run iOS 4.2 from iOS 3.2.  However, now, when I try to run my iPad app, it appears as an iPhone app in the simulator!  It appears as the smaller box with the option to expand 2x.  Does anyone know why this would be so? 
In addition, although the application builds and runs (albeit incorrectly), XCode still says that the Base SDK is missing.  I have gone into the Build Info for the target and the project and set the following:
Base SDK: Latest iOS (currently set to iOS 4.2)
Targeted Device Family: iPad
iOS Deployment Target: iOS 3.2

Edit Thanks a lot for the comments; now there is no longer a Base SDK missing, but unfortunately, the app still runs as an iPhone app...
When I load a UISplitViewController, I get an exception 'UISplitViewController is only supported when running under UIUserInterfaceIdiomPad'.  
This all seems very strange to me.  Any help is greatly appreciated. 
Thanks

A:

The installed app could be broken. 
What happens when you delete the app from the Simulator and do a clean build and run? 
The Simulator could be broken. 
What happens when you create a new different iPad app from an Xcode template? 
You configuration could be broken, or you could have different settings for different targets and builds than you want, or the wrong plist or plist keys, or the wrong xib.   If the new template app works, compare these one by one. 

A:

I eventually was able to fix this problem.  I attempted all the methods outlined by the other answerers, but none of them worked.  However, when I upgraded to XCode 4, the problem fixed itself.  
I honestly don't know what changes to my app were made by this upgrade, and I am still baffled at why the project was not compiling before.  I suppose upgrading your environment is one (somewhat unsatisfying) way to fix this sort of bug....

