AppleUSBAudio.kext lacks valid OSBundleCompatibleVersion key / 10.7.4 (11E53)

Originator:bakedscrod
Number:rdar://11427549 Date Originated:10-May-2012 04:00 PM
Status:Closed Resolved:Yes
Product:Mac OS X Product Version:10.7.4 / 11E53
Classification:Serious Bug Reproducible:Always
 
Summary:

The AppleUSBAudio kext is missing an OSBundleCompatibleVersion key in its Info.plist file. This prevents kernel extensions that make use of the AppleUSBAudioPlugin API (as demonstrated in Apple's SampleUSBAudioPlugin sample code) from loading because they cannot then link against AppleUSBAudio.


Steps to Reproduce:

Compile the SampleUSBAudioPlugin project (setting a code-signing identity if necessary).

Copy the kernel extension into /System/Library/Extensions/ after setting an owner and group of root, wheel, respectively, and permission mode of 755.

Load the extension using:
	sudo kextutil -t /System/Library/Extensions/SampleUSBAudioPlugin.kext


Expected Results:

The extension's bundle identifier appears in the list of loaded extensions as returned by kextstat.


Actual Results:

The extension fails to load with error:
	"dependency for com.apple.driver.AppleUSBAudio lacks valid OSBundleCompatibleVersion"


Regression:

The problem doesn't occur on Mac OS X 10.7.3 or earlier.


Notes:

The AppleUSBAudio kext is also lacking an OSBundleCompatibleVersion key on OS X 10.8 / 12A193i.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!