While trying to get a System Extension version of our VPN client working I realized that the system extensions aren't actually run from their location in the application bundle `<myapp>.app/Contents/Library/SystemExtensions/<myextension>` but are rather copied to `/Library/SystemExtensions/<GUID>/<myextension>`
Which is all well and good but it means the running system extension cannot access the frameworks embedded in the application bundle using any @rpath configuration I can think of. Technically it would be possible to hardcode `/Applications/<myapp>.app/...` since by Apple's decree SystemExtensions are only expected to work when contained by applications installed in `/Applications` but that won't fly while doing development.
Am I doomed to double embed all the common needed internal frameworks inside both my app and the System Extension or is there some way to set up @rpath which will let the System Extension access my app's embedded frameworks?
Thanks!