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

问题描述

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

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.

推荐答案

是的,没问题.只要新应用程序具有与旧应用程序相同的捆绑包ID( Info.plist 中的CFBundleIdentifier),就在App Store和Apple看来都是相同的应用程序.您可以更改其他所有内容,而它们将不在乎:图标,面向用户的名称(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.

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

08-14 15:46