English 中文(简体)
从单一X代码项目中有效建造两个版本的电灯?
原标题:Efficiently build two versions of an Iphone app from a single Xcode project?

我想以有报酬和自由的方式提出我的意见。 我想安排事情,以便我能够用尽可能少的改动来拟定一个版本。 就源代码而言,通过在某个地方安装一个POL的固定装置,并按需要提及,很容易做到这一点。

但是,我应如何确定其它事项? 显然,申请表必须改变,这反过来又会改变锡考德的一些建筑环境。 至少保持这一水平的最佳途径是什么?

问题回答

您可以使用(在您的Xcode造就的环境中)加工前国旗在两者之间转换。 可以通过简单的加工前指令(例如,编号IS_FREE_VERSION ......#endif)在你的源代码上使用该国旗,其方式类似于声明。 这将有助于避免打造文字。

这种做法的不利之处在于,每当你建造时,最后的建筑产品就已经过时。





相关问题
Tracking Versions, Builds, Revisions, with TortiseSVN

I am the sole developer on a project and have been using tortoiseSVN for quite a while. Now Id like to start getting version information working correctly in the project I.E. show Major Version, Minor ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

How to handle different csproj [closed]

I am working in a team of five. We are working on a C# application with five csprojects. The problem is that for each csproject, each of my colleagues has their own ideas on how to reference a DLL; ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签