• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MODULE_VERSION and CFBundleVersion synchronization?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MODULE_VERSION and CFBundleVersion synchronization?


  • Subject: MODULE_VERSION and CFBundleVersion synchronization?
  • From: Kris Daniel <email@hidden>
  • Date: Thu, 16 Jun 2005 14:30:03 -0700


Greetings.

I work on a driver project, which includes the following targets: a kext, a MIDI CFPlugin, and a Preference Pane. I have a need to keep all three targets displaying the same version information in their Info.plist files (as a single "driver release" updates all three), and a kext is required to have its Info.plist's CFBundleVersion match its binary's MODULE_VERSION. So, I have at least four version fields that need to stay in sync whenever I want to increment the version.

In moving to XCode 2.1, I've found that performing this synchronization feat has gotten more complicated. Formerly, there was only one setting of MODULE_VERSION per target, now there is a MODULE_VERSION per build configuration per target, and an extra one floating around in the project.pbxproj file. I'd like to have just one place to update the version and have it affect all targets and all configurations, so I don't have to hunt down every version entry in the config pages when I need to increment the version.

What is the recommended approach for doing this? (In XCode 1.5, I was deleting the extra MODULE_VERSION entries on the non-kext targets, and using perl in a post-build script to find MODULE_VERSION in project.pbxproj and substitute it into the respective Info.plist files. This has gotten more complicated now that there are several MODULE_VERSIONs found in the project.pbxproj file). Considering how useful this is for kext developers, I'm hoping there is a more straightforward route to follow.

thanks for any assistance,
Kris Daniel
Line 6, Inc.

_______________________________________________
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


  • Follow-Ups:
    • Re: MODULE_VERSION and CFBundleVersion synchronization?
      • From: David Ewing <email@hidden>
  • Prev by Date: YACWP (Yet Another CodeWarrior Port)
  • Next by Date: Re: YACWP (Yet Another CodeWarrior Port)
  • Previous by thread: Re: YACWP (Yet Another CodeWarrior Port)
  • Next by thread: Re: MODULE_VERSION and CFBundleVersion synchronization?
  • Index(es):
    • Date
    • Thread