This approach solved the crash with my cpp implementation
Post
Replies
Boosts
Views
Activity
Using the otool to manually insert @rpath into the references worked
@durul yes, I've seen this post but it doesn't seem like it is solving my issue. I'm trying to manually build with a specific SDK by passing the SDK's absolute path to SDKROOT. This works with versions 14.3.1 and earlier. I tried passing in other SDK versions like macOS12.3.sdk but it isn't working either.
We require macos10.14 SDK to build our driver. Base SDK and Deployment Target are different. Setting the Deployment Target allows the app to run on the specified OS Version. Setting Base SDK allows us to build using a specific SDK. There are features in the macos10.14 SDK we require that aren't present in later ones.
This is brilliant. I was not aware of the IOClass AppleUSBHostMergeProperties. That's exactly what I needed and made the implementation simpler