如何复制Xcode项目以创建免费应用程序的支付版本 [英] How to duplicate Xcode Project to create a payment version of a free app

查看:69
本文介绍了如何复制Xcode项目以创建免费应用程序的支付版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个免费的应用程序,我想制作付费版本。我试图创建一个新项目并将类复制到其中但不是很简单。有没有更简单的方法?我复制了目标,但是我可以通过哪种方式在目标上设置指定代码而在另一个目标上设置另一个代码?你可以帮我吗?

I have a free app and I want to make a paid version. I tried to create a new project and copy the class into it but isn't very simple. Is there a way more simple? I duplicate target, but in which way I can set a specified code on a target and another on another target? can you help me?

推荐答案

保罗R是对的,你不应该复制项目..你应该在你的应用程序中创建两个目标..因为如果你修复你的精简版中的一个错误,它将自动修复付费版本..将来它会帮助你很多..

Paul R is right you should not copy the project.. you should create two targets in your app.. because if you fix a bug in your lite version it will automatically fix that in paid version.. in future it will help you a lot..

这里有一些关于如何创建的文章项目中的多个目标以及如何使用它们 -

Here are few articles on how to create multiple targets in your project and how you should work with them -

http://blog.just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/

http://finbarrbrady.com/2010/03/building-for-multiple-targets-in-xcode/

http://www.pacificspirit.com/blog/20 09/01/27 / building_for_multiple_iphone_targets_in_xcode

这篇关于如何复制Xcode项目以创建免费应用程序的支付版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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