kext installer

On the macOS 10.14

I created a project(installer) that will install a .KEXT(driver) which was signed by the provider’s company.

My installer can install the KEXT to the correct location which is “Library/Extensions”. But it will not work, even after reboot.

Then I tried to use the command below, but the OS couldn't find the driver.

kextstat

Here is component plist for pkg

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
	<dict>
		<key>BundleIsVersionChecked</key>
		<true/>
		<key>BundleOverwriteAction</key>
		<string>upgrade</string>
		<key>RootRelativeBundlePath</key>
		<string>ThirdPartyOfficial.kext</string>
	</dict>
</array>
</plist>

Below is what I did.

Step1

pkgbuild --identifier "com.xxxx" --root "SrcPath" --install-location "/Applications/XXXX.app" --component-plist "plistPath" "outputPath"

Step2

productsign --sign "Developer ID Installer: XXXX" "PkgPath" "NewPkgPath"

Step3

xcrun altool --notarize-app --primary-bundle-id "BundleName" --username "XXXXX" --password "XXXX" --file "FilePath"

Both CodeSing and Notarize were successful.

I don’t know why it will not work. As well as it doesn’t show the “Allow” button in the Settings/Security and Privacy.

Does anyone know what I missed?

kext installer
 
 
Q