Xcodegen: Add an option 'Run script only when installing'

Created on 23 Aug 2017  路  5Comments  路  Source: yonaskolb/XcodeGen

I often use auto-increment build number script and some scripts that should invoked only when archiving.

_Examples:_
http://crunchybagel.com/auto-incrementing-build-numbers-in-xcode/
https://gist.github.com/sekati/3172554
https://github.com/realm/realm-cocoa/blob/master/scripts/strip-frameworks.sh

Those kind of scripts should run only when archiving (well, just personally I guess so). So I believe 'Run script only when installing' option would be nice...

blocked easy enhancement

Most helpful comment

@ImLaufderZeit This is now in 0.4.0

All 5 comments

This requires support from xcodeproj

Resolved with workaround in the meantime. Will be in the next release soon

We'll have a release tonight so that you can use it @yonaskolb

@ImLaufderZeit This is now in 0.4.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexisQapa picture AlexisQapa  路  3Comments

ksulliva picture ksulliva  路  4Comments

brentleyjones picture brentleyjones  路  6Comments

dabaddah picture dabaddah  路  4Comments

lukewakeford picture lukewakeford  路  6Comments