Does the iPad App Continue to Work Like an iPhone App?

I recently updated Xcode to run iOS 4.2 with iOS 3.2. However, now when I try to launch the iPad app, it looks like the iPhone app in the simulator! It looks like a smaller box with expandability of 2x. Does anyone know why this is so?

In addition, although the application builds and starts (albeit incorrectly), Xcode still says that the underlying SDK is missing. I went to the assembly for the purpose and project and installed the following:

Base SDK: Latest iOS (currently set to iOS 4.2)
Targeted Device Family: iPad
iOS Deployment Target: iOS 3.2

Edit Thank you very much for the comments; Now the Base SDK is no longer there, but unfortunately the application still works as an application for the iPhone ...

When I load the UISplitViewController, I get an exception. UISplitViewController is only supported when running under UIUserInterfaceIdiomPad.

It all seems very strange to me. Any help is appreciated.

thank

+3
source share
3 answers

In the end, I was able to fix this problem. I tried all the methods outlined by the other responders, but none of them worked. However, when I upgraded to Xcode 4, the problem was fixed.

Honestly, I do not know what changes in my application were made as a result of this update, and I still do not understand why the project has not been compiled before. I assume updating your environment is one (somewhat unsatisfactory) way to fix this error ....

+1
source

. , Simulator ?

. , iPad Xcode?

, , , plist plist xib. , .

+3

, , . , :

  • Active Target blah

.

0

Source: https://habr.com/ru/post/1796696/