如何使用新项目来更新现有应用程序? [英] How to use new project to update existing app?

查看:123
本文介绍了如何使用新项目来更新现有应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通用iOS应用程序,该应用程序已经在App Store中存在两年了.我正在为此进行大规模更新.从那时起,我学到了很多东西,我觉得最好的事情就是从头开始重写应用程序.我可以剥离该应用程序,但我宁愿从头开始创建一个新的Xcode项目,然后将其作为更新提交.

I have a Universal iOS app that has been in the App Store for two years now. I am working on a massive update for it. I have learned a lot since then and I feel that the best thing for me to do is to rewrite the app from the ground up. I can just strip out the app but I would rather start from scratch with a new Xcode project and submit it as an update.

但是,我不确定这是否行得通.我需要在plist和其他设置中进行哪些更改,以便将该新项目识别为对现有项目的更新?甚至有可能吗?

However, I'm not sure if this will work. What do I need to change in the plist and other settings so that this new project will be recognized as an update to the existing one? Is it even possible?

推荐答案

在开发新应用时,您应该只能够使用现有应用的应用ID/设置"配置文件.

You should just be able to use the App ID/Provisioning profile of the existing app when you develop the new one.

在XCode中,您可以将Bundle ID设置为应用程序的标识符,然后更新CFBundleVersion和CFBundleShortVersionString以反映应用程序的当前版本.

In XCode, you'd set the Bundle ID to whatever the app's identifier is, and update CFBundleVersion and CFBundleShortVersionString to reflect the current version of the app.

请记住,您不能添加到必需的设备功能(这意味着要对其进行更多限制),因此它必须与旧版本相匹配.

Keep in mind that you can't add to the required device capabilities (meaning make it more restrictive), so it has to match what they were for the old version.

这篇关于如何使用新项目来更新现有应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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