cocos2d:将 iPhone 应用程序转换为通用应用程序应用程序、转换为、cocos2d、iPhone

2023-09-06 09:25:22 作者:丿君临天下丶凤舞九州

我已经使用 cocos2d box2d 项目模板在 cocos2d 99.4 中开发了一个 App 应用程序.它在 iPhone 4、iPod 中运行良好......但我需要它转换为通用......我的意思也是 iPad 版本......我已经将它升级到 iPad 版本......所以它可以在 iPad 上运行......但体积很小像 iPhone...

谁能帮忙??

iOS Cocos2d游戏开发 十四 利用Cocos2D iPhone Extensions嵌入Cocos2d多媒体播放

谢谢

解决方案

要将您的项目转换为通用应用程序,请参阅 Upgrade Current Target for iPad 并按照提示操作创建一个通用应用程序.

Xcode 通过以下方式更新您的项目修改几个构建设置支持 iPhone 和 iPad.

重要提示:您应该始终使用 Upgrade Current Target for iPad 命令来迁移现有项目.不要尝试手动迁移文件.

I have developed an App app in cocos2d 99.4 using cocos2d box2d project template.It works well in iPhone 4,iPod.....but i need it to convert to universal...i mean iPad version also ......i already upgraded it to iPad version....so that it runs in iPad...but in small size like iPhone...

can any one help??

Thanks

解决方案

To convert your project to a universal app, see "Creating a Universal Application" in the iPad Programming Guide:

Configuring Your Xcode Project

The first step to creating a universal application is to configure your Xcode project. If you are creating a new project, you can create a universal application using the Window-based application template. If you are updating an existing project, you can use Xcode’s Upgrade Current Target for iPad command to update your project:

Open your Xcode project. In the Targets section, select the target you want to update to a universal application. Select Project > Upgrade Current Target for iPad and follow the prompts to create one universal application.

Xcode updates your project by modifying several build settings to support both iPhone and iPad.

Important: You should always use the Upgrade Current Target for iPad command to migrate existing projects. Do not try to migrate files manually.