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?
Asked
Active
Viewed 1.6k times
25
-
May I suggest that you accept Nick Lockwood's superior answer instead of Joshua Nozzi's? – Mark Amery Sep 23 '13 at 16:22
2 Answers
70
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.

Mark Amery
- 143,130
- 81
- 406
- 459

Nick Lockwood
- 40,865
- 11
- 112
- 103
-
6That depends what you want to do. If you want to use the same storyboard and design your views to stretch for ipad, that should happen automatically as long as you use the autoresizing properties correctly in Interface Builder. If you want to use a different storyboard for iPad, just copy and paste your storyboard file and rename one of them
~ipad.storyboard and the other – Nick Lockwood Mar 22 '12 at 08:55~iphone.storyboard, then it will load the correct one for each device type (the same naming convention works with xibs, images, etc). -
I have a 3 year old app that was originally targeted for iPhone. When I change the target device to Universal as shown above, the existing storyboards still do not display the adaptive layout options. How does one convert the storyboard after changing the target device to Universal? – Chuck Krutsinger Mar 16 '15 at 03:41
15
{ 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!

Joshua Nozzi
- 60,946
- 14
- 140
- 135
-
38even better (in Xcode 4 at least), just click on your app's target and then use the 'Devices' drag-down menu to choose Universal. – RanLearns May 28 '11 at 22:23
-
1You helped me first by pointing this out before I found the simpler single-target method! So thank you. =) – RanLearns May 29 '11 at 18:00
-
-
@Nideo: I just checked this and it's *exactly* the same in 4.2 as in 4.1 and 4.0. Did you follow the directions precisely? – Joshua Nozzi Oct 29 '11 at 14:00
-
Hahaha, ooooops, I did not spot that Target, I went to the one down in "Products" folder. Sorry, and thanks! – Pangolin Oct 29 '11 at 14:37
-
-
3Down voting because of Nick Lockwoods answer. I hope he's right, but his is more in line with what I've seen online elsewhere. I'll know soon enough... – Fraggle Dec 06 '12 at 13:59
-
Joshua, since you seem to be aware yourself that the other answer is better, may I suggest that (since you can't delete this yourself) you flag and ask a mod to delete this for you? I believe that since this has more than 3 upvotes, you'll keep your rep, in case that matters to you. The trouble is that since this is accepted it's still the most visible answer on the page, and some people may not see Nick Lockwood's answer. – Mark Amery Oct 06 '13 at 15:37
-