Converting iPhone app to a Universal app in Xcode 4

拜拜、爱过 提交于 2019-11-27 04:04:05

{ 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!

Nick Lockwood

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:

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!