I have extracted a part of my app into a framework, which I have been building as a static library (mach-o type=static library). This has been inflating the app size, as the framework has been statically linked into both app & widget targets.
I have switched the framework to dynamic library, set to build it as a mergeable library, set the app targets to 'create merged library: automatic'.
Unfortunately, my release builds now fail with "unknown option: -make_mergeable" in Xcode 15 beta 8. This happens in "Link <MyFramework>" step during a framework build.
Debug builds work OK.
How can I fix this?