1.0.2 • Published 7 years ago

xcode-add-missing-environments v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

xcode-add-missing-environments

A node script to add Staging and PreProd environments to iOS project configuration.

Installation

Just run npm to install it globaly :

npm install -g xcode-add-missing-environments`

How to use it

First convert your pbxproj to JSON format :

$ plutil -convert json -o project.json -- YourProject.xcodeproj/project.pbxproj

Next, add environments :

$ xcode-add-missing-environments ./project.json > project.new.json

Then, convert it to XML : $ plutil -convert xml1 -o project.final.xml -- project.new.json

Finaly, replace the old xcodeproj : $ cp -Rf project.final.xml YourProject.xcodeproj/project.pbxproj

Note about using xml as pbxproj

Xcode support XML format as pbxproj configuration, the next time you will edit anything from xcode project settings, Xcode will automaticaly change the xml format into the standard format (without loosing anything).

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago