Before Build Command, access ${CONFIGURATION} and other variables

fabby329fabby329 Member ✭✭
edited March 7 in Xamarin.Forms

Hello,

I'm trying to make 2 scripts one for android and one for ios to include the git revision in the app build version.

But this is not the point of the question, the thing is, I'm doing some stuff in a custom command using a bash script which runs before build.

I need to access some environmental variables (${PROJECT_DIR}, ${INFOPLIST_FILE}, ${CONFIGURATION} and some other stuff) which as far as I understand, they seem to be used/managed in xcode..

(need them to set CFBundleVersion with PlistBuddy)

Are there any equivalent variables that I could use in a before build script?

Tagged:

Answers

Sign In or Register to comment.