I want to change build settings of a .xcodeproj without using Xcode IDE but through terminal commands (Codesigning Identity and Provisioning Profile to be exact).
I have searched all over but only found commands to build/archive the project from terminal, which I Do Not Want. What I want is to just change the settings, so that when I open the project in Xcode, it has the signing identities and provisioning profile set to what I had set in Terminal.
Xcodebuild command just builds/archives the project using what I pass as parameters, it doesn't set them as values in build settings of project.
Running xcodebuild -target <target-name> -showBuildSettings
in terminal, where my project resides, gives me complete build settings of the project but I didn't get any method to set them.
Also I read here about using -setObject
, but that also didn't help me as it also builds the code using parameters values I gave instead of actually setting them.
Currently using Xcode 6.3 and Xcode 7.
Any kind of help will be appreciated.