PREVIEW UPDATE ERROR: LinkDylibError

Hey Guys, a have some problens with Xcode preview for some reason I'm getting this error


    LinkDylibError: Failed to build CardDetailsScreen.swift
    
    Linking failed: linker command failed with exit code 1 (use -v to see invocation)
    
    ld: -make_mergeable can only be used when creating a dynamic library
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hi,

This is an issue that we are currently not tracking, so we'd love to get more details on your issue. To help facilitate that could you file a feedback with diagnostics and ideally a sample project so we can take a look.

Steps to generate helpful diagnostics:

  1. Reproduce the issue
  2. Click the "Diagnostics" button in the error banner in Previews' Canvas area (or if the banner is missing you can use the menu: Editor > Canvas > Diagnostics)
  3. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  4. Attach (or make from the folder) the resulting zip file to the bug report (will be named something like previews-diagnostics-0123456789.zip)
PREVIEW UPDATE ERROR: LinkDylibError
 
 
Q