I'm building a IOKit driver and using kextload tool to verify my kext.
When I first created the driver, kextload and kextunload reported
success. After making some changes, I changed the version numbers of
the driver and now kextload reports this error:
Validation failures
{
"Kext has a kernel dependency prior to version 6.0 and
CFBundleVersion does not match executable's MODULE_VERSION" = true
}
I have double and triple checked that the CFBundleVersion string and
the MODULE_VERSION string are identical. My original version was
0.1.0d1, and no matter what I change it to now, I get the above error.
I can look in the kext's plist to see the CFBundleVersion, but I don't
know how to check the MODULE_VERSION in the executable after building
the kext.
Anyone know what's going on or how to get a dump of the MODULE_VERSION
from a built executable?
The MODULE_VERSION is used in the generated <KEXT name_info>.c file.
Look in your KEXT's build directory <KEXT name>/build/<KEXT
name>.build/DerivedSources for that file.
It's possible for the generated file to get out of sync with the
project settings. Try deleting your build directory so that you're
doing a very clean build.
If this doesn't help, try posting your question to darwin-drivers. The
KEXT folks on the I/O Kit team will more likely see your question
there.
thanks,
--Ron
Good luck,
--gc
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.