Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Upgrade current target for ipad" is grayed out (disabled)?

I'm trying to create a universal iPhone/iPad app using this method: http://www.enscand.com/roller/enscand/entry/ready_for_ipad which is also described all over the web. My problem is that the "Upgrade current target for iPad" line is grayed out and doesn't appear at all when I right click the target.

I'm working on an app that I inherited from someone, and have tried this with an app that I wrote entirely myself (no problems on that one). And yes, I'm sure that I'm selecting the target.

Just wondering if anyone has any insight into what checks are being run that would cause this option to be unavailable.

like image 595
Eric Avatar asked Apr 15 '10 19:04

Eric


5 Answers

It took me a while to realize that you have to have a target selected before the menu item will become enabled.

like image 176
Paul Lynch Avatar answered Nov 07 '22 17:11

Paul Lynch


I figured out that you have to select the target from the window on the left "Group & Files" for that "Upgrade Current target for ipad" to show.

alt text

like image 22
Khattab Avatar answered Nov 07 '22 17:11

Khattab


I found the solution. After upgrading first target just rename Resources~iPad group in Groups&Files (e.g. to ResourcesFirstTarget~iPad). After that you can upgrade your other targets with "Upgrade Current Target For iPad".

like image 2
Petr Avatar answered Nov 07 '22 18:11

Petr


I had this problem because I was trying to do it with the xib file selected, not the item under the the 'Targets' folder.

like image 2
Robert Smith Avatar answered Nov 07 '22 18:11

Robert Smith


I just found that my project was set to "iPhone" for Distribution, but it was still set to "iPhone/iPad" for Debug. After switching to "iPhone" for Debug also, the option to convert to a Universal app became available.

like image 1
Cole Avatar answered Nov 07 '22 18:11

Cole