Mailing Lists: Apple Mailing Lists

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

Re: MODULE_VERSION and MODULE_NAME



Title: Re: MODULE_VERSION and MODULE_NAME
At 2:20 AM -0400 8/20/08, websrvr wrote:
It becomes little bit of a hassle to update these values in project settings (or an xcconfig file) manually. The info.plist for the kext is preprocessed, so we don't need to change the version in a number of places.

Yes but you can use variables in the project files so they should always match.

Anyone have an example of this?  I might be missing something obvious, but I couldn't come up with a good way to do this in such a way that I could use the same version constant in a C header, in the preprocessed Info.plist, and also for MODULE_VERSION, only have the constant defined in a single header file.

Thanks,
Jim


On Aug 20, 2008, at 01:28 AM, AI Developer wrote:

Are these two required to match with the info.plist's module version and name any more?

We have a driver in which if we load the driver with kextlaod -t, we get the following output:

Warnings
{
    "Kext has a kernel dependency prior to version 6.0 and CFBundleVersion does not match executable's MODULE_VERSION" = true
    "Kext has a kernel dependency prior to version 6.0 and CFBundleIdentifier does not match executable's MODULE_NAME" = true
}


But the driver loads anyway (tried on 10.5.x and 10.4.11)!

I'm wondering if this can cause problems in future.
It becomes little bit of a hassle to update these values in project settings (or an xcconfig file) manually. The info.plist for the kext is preprocessed, so we don't need to change the version in a number of places.

Thanks.
Devendra.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/websrvr%40macftphttp.serverbox.org

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >MODULE_VERSION and MODULE_NAME (From: AI Developer <email@hidden>)
 >Re: MODULE_VERSION and MODULE_NAME (From: websrvr <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.