Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to get project version in shell script phase?



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.