TEST: Mergeable Sample
:scroll: Description
I have added the mergeable flags to our build script and tested release builds in the Simulator on macOS.
The sample project is embedding the Sentry dynamic library.
Size
The archive is slightly smaller with mergeable enabled, but the installed app should be slightly larger because of additional metadata.
| Default | Mergeable |
|---|---|
Launch Time
Load times are similar. Launched both versions 10 times after the initial installation. Launching from Xcode takes longer when using mergeable instead of the default dylib.
| Default | Mergeable |
|---|---|
Conclusion
We could add the linker flags to our build script for Sentry-Dynamic. Users can then decide if they want to use mergeable. This is opt-in for them, as the default is the same as before.
We can delete this PR afterwards.
:bulb: Motivation and Context
Sample to test mergeable option.
Relates to #3719