Converting iPhone app to a Universal app in Xcode 4

后端 未结 2 1826
礼貌的吻别
礼貌的吻别 2020-11-30 04:55

I am trying to upgrade my existing iPhone app project to an Universal app but I can not find any option in Xcode 4 to do so. Where is it?

相关标签:
2条回答
  • 2020-11-30 05:30

    The accepted answer is wrong. Creating a new target is how you create a separate iPad app from an iPhone app (i.e. a project that can be compiled into either an iPad or iPhone app), it is not how you convert an iPhone app to a single universal app that will run on iPhone or iPad.

    All you actually need to do is switch the Device dropdown in the target summary tab from iPhone to Universal:

    Image showing above instructions

    Thanks to ObjectiveFlash for his comment which originally provided this solution.

    0 讨论(0)
  • 2020-11-30 05:41

    { Outdated / incorrect information removed. Moderators, I've asked to at least unmark my answer as accepted. Please clean this up. }

    See Nick Lockwood's answer!

    0 讨论(0)
提交回复
热议问题