We have multiple macOS applications (non sandboxed) that share a lot of core frameworks. So if the user installs two of our apps, there are essentially duplicate copies of the same frameworks inside the app bundles. This duplication can cost the user around 450 MB.
Is there an apple recommended way to avoid duplication in such scenarios?
One approach would be to install the common frameworks in a location like /Library/Application Support/MyCompany/Shared Frameworks/ and then add this to the rpath of all the applications, but I am not sure if this will work after signing and notarization.
Note - These apps are not distributed through the app store and are not sandboxed.
Is there an apple recommended way to avoid duplication in such scenarios?
One approach would be to install the common frameworks in a location like /Library/Application Support/MyCompany/Shared Frameworks/ and then add this to the rpath of all the applications, but I am not sure if this will work after signing and notarization.
Note - These apps are not distributed through the app store and are not sandboxed.