Posts

Post not yet marked as solved
8 Replies
1.2k Views
I have a installer package with a kernel extension. I've got both of them notarized successfully. I verify that by using this command "spctl -a -vv -t install bundle-name".I also add this preinstall script to my package.#!/bin/sh if [[ `/usr/bin/sw_vers -productVersion` == 10.14.5 ]]; then /usr/sbin/spctl -a -vvv -t install "$PACKAGE_PATH"; fiWhen I run the installer package on a clean intallation of 10.14.6, I still receive the message box stating my kext is blocked. I need to go to System Preference to click the "Allow" button. How come does this happen even though my package has passed notarization? I'm totally got confused.BTW, is there a way to clear some local cache to remove previously approved kext for testing purpose? Thanks!
Posted Last updated
.
Post marked as solved
17 Replies
3.9k Views
Hello,I'd like to know if there is a way to get this properties(like the image below) of a USB thumb drive from a mount point(/Volumes/mydrive) in a generic kernel extension? Thanks!https://www.dropbox.com/s/5ykusvrlz7apzzs/IORegistryExplorer.png?raw=1
Posted Last updated
.
Post marked as solved
4 Replies
1.5k Views
I have a C struct like this.struct someStruct { char path[10][MAXPATHLEN]; };I'd like to copy a list of Swift strings into the char[10][] array.For me it's very challenging to handle two dimensional char array in Swift. Could anyone share some code which can work with Swift 5? Thanks!
Posted Last updated
.