安装相同iPhone项目的不同版本? [英] Installing different versions of the same iPhone project?

查看:555
本文介绍了安装相同iPhone项目的不同版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然我正在制作游戏原型,但我经常需要回过头去与旧版本进行比较,以便更好地了解我是否在正确的轨道上。但是,每次我需要检查特定版本时,必须检查旧版本并重新导出是一个长时间的过程。如果我可以简单地启动不同的版本,它会更加顺畅。

While I'm prototyping games, I frequently need to go back to compare with older versions, to better get a feel of if I'm on the right track or not. But it's a lenghty process to have to check out the old version and re-export everytime I need to check a specific version. It'd be so much smoother if I could simply launch different versions.

如何在设备上安装同一项目的多个版本?

How can I have multiple versions of the same project installed on the device?

推荐答案

如果为程序提供不同的包标识符,则可以将它们安装在同一设备上。可能会添加一个新的构建目标,将随机数(或构建版本或svn修订版等)附加到捆绑包标识符的末尾(可能还有应用程序名称),然后您可以同时安装多个版本。

If you give the programs different bundle identifiers, they can be installed on the same device. Possibly add a new build target that appends a random number (or build revision, or svn revision, etc) onto the end of the bundle identifier (and possibly the application name), then you can have multiple versions installed at once.

例如,您可能拥有标题为MyGame的应用程序com.mycompany.mygame,您的脚本将创建诸如com.mycompany.mygame43之类的版本标题为MyGame43。

For example, you might have the application "com.mycompany.mygame" with the title "MyGame", and your script would create versions such as "com.mycompany.mygame43" with the title "MyGame43".

然而,这可能会被苹果公司对开发人员的一切困难(也称为代码签名)的热爱所打败。我个人没有做很多App Store开发,但我知道配置文件可能会非常麻烦,他们可能会遇到这种方法的问题。谁知道。

However, this may be defeated by Apple's love of making everything difficult for developers, also known as code signing. I personally don't do much App Store development, but I know the provisioning profiles can be a huge pain and they may have issues with this approach. Who knows.

编辑:猜测它可以与代码签名配合使用,但不适用于应用内购买。

guess it does work with code signing, but not in-app purchases.

这篇关于安装相同iPhone项目的不同版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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