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.
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.