In a silly mistake, I ran th开发者_开发知识库e "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?
I found help in this question: 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
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.
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
精彩评论