to build iOS apps from command line with different info.plist files

I want to build my iOS app from command line along with parameters that i can give to use the appropriate info.plist file. Can this thing be established? ie. giving different info.plist files for creating two different app packages for the same project and that too from command line.

Answers


Create two (or more) targets in your project: target1, target2.

Create two plists in your project, but assign different target membership for them.

In command line:

xcodebuild -project projectname -target target1
xcodebuild -project projectname -target target2

This will build the same project but with different plists.

Here is a reference for xcodebuild's command line: xcodebuild.

References for targets: Xcode Target.


Need Your Help

Processing game input

c# event-handling keypress slimdx

So my basic 2d game framework in SlimDX is going well. I've created a custom Sprite object, and have some rudimentary mastery of rendering sprites. I just need to move them now.

Using asynchronous save changes on Entity Framework with multiple contexts

c# asp.net-mvc entity-framework async-await unit-of-work

I am using EF 6 with a UoW pattern. I have multiple contexts defined in my UoW since I'm using data from multiple databases. Everything seems to be working correctly except the CommitAsync function I

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.