[英]How to manually convert an iPhone-only app to Universal in Xcode 5?
I have an iPhone-only app which needs to become universal. 我有一个只有iPhone的应用程序,需要变得普遍。 I selected the target and changed Deployment Info > Devices from "iPhone" to "Universal". 我选择了目标并将部署信息>设备从“iPhone”更改为“通用”。 The blog post I found says Xcode asks you what to do. 我发现的博文说Xcode会问你该怎么做。 But it didn't ask anything. 但它没有问任何问题。 When I run the app on iPad it just crashes with no log in console. 当我在iPad上运行应用程序时,它只是崩溃而没有登录控制台。
The problem can be that my project doesn't use any xib files. 问题可能是我的项目不使用任何xib文件。 Is there a resource that details what exactly you need to configure to make an app universal by hand? 是否有资源详细说明您需要配置什么才能使应用程序通用?
For making your App Universal: 制作App Universal:
After following these steps while you run the Application into iPad than iPad screen will be opened without any crash. 在将应用程序运行到iPad之后执行这些步骤之后,将打开iPad而不会发生任何崩溃。
Please note that you need to follow the steps every time when you create new iPad xib. 请注意,每次创建新的iPad xib时都需要按照步骤操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.