We have a audio kernel extension, which installs in /Library/Extensions. According apple new guidelines(WWDC video 707) we should code sign kext which installs /Library/Extensions. We requested apple to enable kext code signing attribute to our developer id and now it is enabled. As per the mail reply that we got from apple says like this
If you have previously obtained a Developer ID for application signing, you need to re-download your Developer ID to have the updated certificate.
Hence we redownloded certificate and codesigned the kext. Code compiles fine However when we try to verify the code sign using below command sudo kextutil -tn KEXTPATH
it gives following error- Code Signing Failure: code signature is invalid KEXT_PATH appears to be loadable (including linkage for on-disk libraries).
Can any one help me to resolve this error.
sudo kextutil -v KEXTPATHand see what the output indicates. also trycodesign -dvvv KEXTPATHandcodesign --verify -vvvvto determine more about your codesignature. - l'L'lcodesignfrom XCode 3.5 or (preferably) 4.x. Older XCode versions may have problems to sign kexts. - mity