This project shows how to use Mergeable Libraries feature demonstrated in WWDC2023.
You need Xcode 15 Beta to run this project
Clone this repository and open MergeableLibDemo.xcworkspace
and build the project it builds for Debug
mode, then go to Edit scheme and change build configuration for Run action to Release
this would build it for Release scheme.
It treats the framework as dynamic framework in Debug mode
It treats the framework as static library in Release mode
So you get to optimize for both build time as well as App launch time.