Eric
Eric

Reputation: 495

"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.

Upvotes: 12

Views: 7550

Answers (12)

exolaris
exolaris

Reputation: 27

I solved this problem by right clicking on the target -> get info -> build, and changing the targeted device family from iphone/ipad to iphone.

Upvotes: 0

Pedro
Pedro

Reputation: 11

I was having the same problem, what I did to solve it was the normal thing: - select target in Groups and Files - (i.e change it from 'iPhone/iPad' to 'iPhone').

and it was grayed out... - so I've cleaned the project (Build/Clean All targets)

It solved my problem, so I advise you to after make some changes that supposing would made it work, to clean the project afterwards!

Hope it can help someone.

Upvotes: 1

Khattab
Khattab

Reputation: 737

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

Upvotes: 3

Nicki
Nicki

Reputation: 984

Set you app to target iPhone in both the Project->Edit Project Settings: All Configurations and in the side menu, where you right click the target ->Get Info same type of menu.

To be able to click the "Upgrade to Ipad(...)" you have to click and select the target. Then it will work.

Upvotes: 0

Dipali
Dipali

Reputation: 11

I deleted the "Resources-iPad" group and voila - the "Update Current Target for iPad" became enabled.

Upvotes: 1

rich
rich

Reputation: 11

Im not sure if this is an actual solution but I solved this problem by selecting the target, going to "Project" and setting the Active Build Configuration to "Release". Update Current Target for IPad then became enabled.

Upvotes: 1

Robert Smith
Robert Smith

Reputation: 21

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

Upvotes: 2

Leonardo
Leonardo

Reputation: 9857

I don't know if this post is still active. In project info, take a look at "Architecture", if there's more than one entry, the "Upgrade target for ipad" is greyed.

Upvotes: 0

Cole
Cole

Reputation: 11

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.

Upvotes: 1

Ian1971
Ian1971

Reputation: 3696

I've found the same problem but can upgrade if I right click the target rather than using the menu item.

Further more I've just realised that the menu item does become ungrayed out if you select the target in Groups & Files not in the drop down at the top.

Upvotes: 0

Petr
Petr

Reputation: 21

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".

Upvotes: 2

Paul Lynch
Paul Lynch

Reputation: 19789

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

Upvotes: 7

Related Questions