Posts

Post not yet marked as solved
2 Replies
945 Views
Hello, I'm trying to test the example code for the AudioDriverKit and the "Open User Client" button returns a kIOReturnNotPermitted error. Using the standard entitlements that come with the example and I'm signing to run locally. SIP is disabled and I'm using systemextensionsctl developer on When the "Open User Client" button is pressed, I see the following calls into the dext: SimpleAudioDriverUserClient::init SimpleAudioDriverUserClient::Start SimpleAudioDriverUserClient::Stop SimpleAudioDriverUserClient::free None return any errors. Seems like this is a permission issue, but since this is just the straight example code, it seems like it should work out-of-the-box. Any clues as to why this is failing? Thank you!
Posted
by PCBuff.
Last updated
.
Post not yet marked as solved
0 Replies
781 Views
I’m trying to create a macOS package with pkgbuild / productbuild that includes some non-bundle files. I do not want to use the Packages.app because I need to insure the installer will work on all versions of the operating system in the future (including Big Sur on Apple Silicon) so I don't want to use any third-party apps. The folder layout looks like this: Root 		Applications 				MySample.app 		Library 				LaunchAgents 						com.company.startup.plist 		usr 				local 						bin 								MyStartupEx When I use pkgbuild to build the package, it refuses to add the .plist and MyStartupEx files into the package because they are not bundles. I have searched all of the documentation and examples that I can find and cannot find an answer as to how I can include non-bundle files. I have also tried using pkgutil --flatten and the resulting package is invalid for productbuild. Does anyone have an example that will allow non-bundle files to be added to a package? Thank you!
Posted
by PCBuff.
Last updated
.
Post marked as solved
2 Replies
1.8k Views
I'm trying to notarize a kext that has been working fine and today it is giving me a "Status 2" "Package Invalid" error using the same scripts I have used before. The Email I receive gives instructions to look at the log files, but of course kext's aren't uploaded from within Xcode Organizer, so I can't press the "Show Status Log" button and I have no idea where any notarize logs might be stored.I'm building the kext with Xcode 10.0 (10A255) as Xcode 11 simply won't build kext's that work (that is for another post) on Mohave 10.14.6.I also have applications that are notarized, and that notarization worked just fine from within Xcode 10.Any clues what might be going on since this has worked fine in the past?Thank you,David
Posted
by PCBuff.
Last updated
.
Post not yet marked as solved
0 Replies
546 Views
Hello,I am trying to implement PCIe pause in our kExt and cannot see a way to test this feature. I found some documentation on apple.com saying that I need to do:sudo nvram boot-args="pci=0x200"Having done this, I still don't see any power state transitions when a new device is attached. Any clues?Thank you,David A. Hoatson
Posted
by PCBuff.
Last updated
.
Post marked as solved
2 Replies
911 Views
Hello,I am developing / debugging a kExt and want to load it on 10.14.5 (which my system just updated to). Seems I can no longer just kextutil from terminal without notarizing the kExt first. Is there a way around this so I don't have to notarize each and every build I am trying to debug?Thank you,David A. Hoatson
Posted
by PCBuff.
Last updated
.