cannot upgrade current target for ipad

巧了我就是萌 提交于 2019-12-06 14:04:57

问题


i try to upgrade my old existing app to make it a universal application for iphone and ipad. i clicked on my target and tryed to select "upgrade current target for ipad", but i cannot click it, because its not clickable.

alt text http://dl.dropbox.com/u/80699/Bildschirmfoto%202010-05-05%20um%2018.21.30.png

my project settings are:

  • The Base SDK is set to iPhone Device 3.2
  • The iPhone OS Deployment Target is set to iPhone OS 3.1
  • The Targeted Device Family is set to iPhone/iPad

are there any other things i have to pay attention?

please help, to get my application upgraded.


回答1:


Targeted Device Family should be set to 'Iphone' for this option to be available, otherwise Xcode thinks its already targets iPad. (i.e change it from 'iPhone/iPad' to 'iPhone').




回答2:


Open your project in Xcode, in the left "Groups & Files" pannel find the "Targets" group. Open it up and highlight your target (it will be the name of your app). Now click the Project menu, voila!! The "Upgrade Current Target for iPad" option is selectable.

I fell for that one too, shame the documentation isn't clearer and there aren't 100 things called target!!!




回答3:


I have Xcode 3.2.2 prerelease and i can not find the "Upgrade Current Target for iPad" option under my project menu.

Is this due to Xcode version??



来源:https://stackoverflow.com/questions/2710095/cannot-upgrade-current-target-for-ipad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!