Xcode Previews Don't Work wth Swift Packages with Binary Dependencies

Originator:leogdion
Number:rdar://FB8001132 Date Originated:2020.07.14
Status:Open Resolved:
Product:Xcode Product Version:12 beta 2
Classification:Developer Tools Reproducible:
 
Xcode Project which uses a Swift Package with a Binary Dependency fails at displaying an Xcode Preview from the SwiftUI Swift View. 

Here is the error message:
Missing package product 'CairoSVG-dynamic' (in target 'SpeculidKit' from project 'SpeculidKit')

----------------------------------------

SchemeBuildError: Failed to build the scheme "Speculid"

Missing package product 'CairoSVG-dynamic' (in target 'SpeculidKit' from project 'SpeculidKit')

Build target SpeculidKit:
error: Missing package product 'CairoSVG-dynamic' (in target 'SpeculidKit' from project 'SpeculidKit')

—————-
Speculid is the macApp. SpeculidKit is the Swift package dependency. CairoSVG is a binary dependency of SpeculidKit.

https://github.com/brightdigit/Speculid/tree/feature/swiftui-docs

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!