Mergeable library is not compatible with SwiftUI preview

When I enable the Mergeable library in Xcode, SwiftUI preview will be not available, and the error is as follows.

Cannot preview in this file Could not analyze the built target description for Demo to create the preview. arguments: -no_merge_framework: Failed parsing Mach-O file Assets

Hi,

Sorry to hear you are having problems getting previews working with mergable libraries. You are hitting a known issue which unfortunately has no workaround beyond turning off the mergeable frameworks.

I'll report back if we find a better workaround or ship a solution.

Mergeable library is not compatible with SwiftUI preview
 
 
Q