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
Post
Replies
Boosts
Views
Activity
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!
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!