iPhone - 如何将仅限iPhone的应用程序转换为通用应用程序? [英] iPhone - How to transform an iPhone only app to universal app?

查看:171
本文介绍了iPhone - 如何将仅限iPhone的应用程序转换为通用应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将仅限iPhone的应用程序转换为通用应用程序?
编辑:找到解决方案
如果您要选择将当前目标升级到iPad选项,则必须将目标设备系列设置为仅限iPhone,而不是iPad / iPhone 。它对我有用!

how can i transform an iPhone only app to an universal application? EDIT : FOUND SOLUTION If you want to have the "Upgrade current target to iPad" option selected, you must have Target Device Family set to iPhone only, not iPad/iPhone. It works for me!

推荐答案

第一步是在Xcode中选择目标,右键单击并使用升级iPad的当前目标...命令。您将看到一个选择:

"The first step is to select your target in Xcode, right-click and use the "Upgrade Current Target for iPad…" command. You will presented with a choice:

选择One Universal application,Xcode将为我们做一些艰苦的工作.Apple指南警告尝试手动迁移你的目标虽然说实话很难真正理解为什么。另请注意,如果你的项目有多个目标,你只能运行一次升级任务。你需要检查所有目标并调整自己构建和Info.plist设置。

Select "One Universal application" and Xcode will do (some) of the hard work for us. The Apple guidelines warn against trying to manually migrate your target though to be honest it is hard to really see why. Also note that if your project has more than one target you can only run the upgrade task once. You will need to check all of your targets and adjust the build and Info.plist settings yourself."

http://useyourloaf.com/blog/2010/4/7/converting-to-a-universal-app-part-i.html

这篇关于iPhone - 如何将仅限iPhone的应用程序转换为通用应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆