how to get project version in shell script phase?
how to get project version in shell script phase?
- Subject: how to get project version in shell script phase?
- From: Marc Respass <email@hidden>
- Date: Wed, 28 Feb 2007 14:15:14 -0500
Hi All,
I have a shell script phase that builds a disk image. It works well
and it's based on a script found at (http://www.mygreenjar.com/
2006/09/10/dmg-build-phase-for-xcode-projects/). The thing is that my
project's name and the disk image I want to create are not the same.
I want the disk image name to append the version of the project. Of
course, I can just modify the script but that's such a drag. I'm
hoping there's a way to get the value for CFBundleVersion in
Info.plist but I can't find it. I did notice the variable
VERSIONPLIST_PATH which points to a version.plist but that file does
not exist and I don't know for sure how it would help. I read through
the docs and searched at Apple's dev site but I either have the wrong
search criteria or there's nothing out there. Any help is appreciated.
Thanks
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden