Hi On Which SDK you are trying to build your kext. If your kext is built with a higher SDK than the one on which you want to use you may get this kind of error.For example, if you build your kext on 10.15 with 10.15 SDK and try to load the same on 10.14 you will get this error.
Post
Replies
Boosts
Views
Activity
Hi Did you find any sample code.Thanks
Hiyou need to request driver kit and system extension entitlement from appleIt must be requested by the Account Holder of a development team in the Apple Developer Program.The output of ioreg is captured after the device plugged in
HiI took around 2 months to get the entitlements.I am trying to load a device. So adding bInterfaceClass and bInterfaceSubClass in plist will not help
Hiyou need to get the driver kit & system-extension entitlement from apple. after that only that sample will compile. else if u want to compile that code then u need to define your own header file with all the releavaent macros. you can refer the driverkit framework files .
HIi was facing the similar issue and i removed the entitlement"com.apple.developer.system-extension.uninstall"and it worked
hi @akstp31as far as i know that is the only link where we can request for entitlements
Hi @sudhanshu11febEven i had the same confusion, it never worked tille we got the entitlements.Regards
have u got the entitlements. if you dont have the entitlements "sysextd" will not allow it load.
Hi"Update: For the heck of it, I tried with a DriverKit driver target (.dext). sysextd does find this one, and request:didFinishWithResult: returns 0 (OSSystemExtensionRequestCompleted) and I get a kext-like approval dialog. (I'm not convinced the dext actually ran after I approved it though, I certainly can't find the "Hello World" it's supposed to os_log anywhere, and it doesn't appear in ioreg.)"Even for my driver extension i am got the kext like approval dialog. but when i plugin my device nothing happens . can't even find any of my os_log. Did u find any other info after that. Thanks in advance
Hi are you able to start the dext ? In my case i am able to activate the extension, but the matching is not happening. if your dext is getting matched , then can u give an example of your plist file.Thanks Gun
How to add this HiddenPort property ?
I have added that property in the Plist .
Used Boolen type and set it to False
Reset the driver Extension, rebooted my iMac and then activated the extension. But I can't find my device in Network Preferences.
Do we need to add this hidden port Property somewhere else
change the mode, on terminal type
chmod -R 755 Path_to_App/app.app
and then try to Staple it will work