用新项目换掉旧项目 [英] Swap out old project with new one

查看:27
本文介绍了用新项目换掉旧项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的项目,很旧,有自己的支持系统:应用内购买、网页链接等.

I have an existing project, quite old, with its own support system: in-app purchases, links on web pages, etc.

我想对应用程序的前端和后端进行大修,以至于基本上不会保留任何原始代码.甚至可能用 Swift 而不是 Objective-C 来编写,主要是因为越来越难找到 Objective-C 文档.

I would like to overhaul the app significantly front and back end, so much so that basically none of the original code will remain. Maybe even write it in Swift instead of Objective-C, mostly because it's getting harder and harder to find Objective-C documentation.

是否可以在 Xcode 中设置新应用程序,以便出于所有意图和目的,应用程序商店仅将其视为现有应用程序的新版本?应用内购买与它一起工作,应用商店的链接仍然有效,等等.

Is it possible to set up the new app in Xcode so that for all intents and purposes, the app store just considers it to be a new version of the existing app? The in-app purchases work with it, the links to the app store still work, etc.

推荐答案

是的,没问题.只要新应用与旧应用具有相同的bundle ID(Info.plist中的CFBundleIdentifier),在App Store眼中就是同一个应用和苹果.您可以更改有关它的所有其他内容,他们不会在意:图标、面向用户的名称 (CFBundleDisplayName)、基础语言、界面,甚至主要功能.应用内购买附加到该捆绑 ID 上,因此它们可以继续工作;应用商店的链接不会改变.您可以从头开始一个全新的项目,只要捆绑 ID 是旧捆绑 ID,它就是同一个应用.

Yes, no problem. As long as the new app has the same bundle ID as the old app (CFBundleIdentifier in the Info.plist), it is the same app in the eyes of the App Store and Apple. You can change everything else about it and they won't care: icons, user-facing name (CFBundleDisplayName), underlying language, interface, major functionality even. The in-app purchases are attached to that bundle ID so they just keep on working; the links to the app store won't change. You can start a completely new project, from scratch, and as long as the bundle ID is the old bundle ID, it's the same app.

这篇关于用新项目换掉旧项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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