tags:

views:

167

answers:

3

In a silly mistake, I ran the "Upgrade current Target for iPad" assistant in Xcode. I'd like to target the iPad some time with my app, but right now, I don't have the time and just want to ship it. Is there an easy way to remove the iPad specific changes from my app?

Specifically, what I'm after is, I want to be able to run the app in the little "iPhone" window on the iPad (the one that lets you blow up the size of the app by pixel doubling). Right now, my view just hangs in there somewhere and looks weird.

Any help?

+1  A: 

I don't know how to do it offhand, but you could create another project (then make a copy) and then run the same "upgrade current target for iPad" and look for differences.

Epsilon Prime
I'm tempted to accept this answer, but I tried it and it didn't really help me. Lots of diffs in the Xcodeproj-file and one diff in the plist. The Plist one doesn't make any difference, and the Xcodeproj seems to indicate it's one of the build settings, but I can't find which.
winsmith
A: 

I found help in this question: http://stackoverflow.com/questions/2706215/submit-an-universal-app-as-ipad-only-app-to-apple

The solution is

  • Open the Target configuration: Project -> Edit Active Target
  • In build settings, set
    • Architectures: Standard (armv6(
    • Build active architecture only: YES
    • Targeted Device Family: iPhone
winsmith
A: 

Does Upgrade for iPad create a new snapshot. I thought mine created one before I did it automatically, but I'm not positive. If so, just revert back to the snapshot

casey