Closed kmkarim closed 1 year ago
Thanks for reporting this, and apologies that this issue is occurring.
I found the same issues in the first couple of Xcode 14 betas and I've reported a bug (FB11397938) with Apple. I've yet to hear back from them, and unfortunately its still persists in the later betas.
There seems to be a number of folks having the same issue with different SPM packages.
https://developer.apple.com/forums/thread/707569
Even if it is a bug in this package (which I don't think is the case given Xcode 13 works fine) it should not break every swiftui preview in a project. Xcode 14 seems to have broken explicit library types relating to SwiftUI .
I will push up a new version which removes the explicit library type (so by default this won't be an issue), however force linking to the static/dynamic versions will have the same issue.
A new version 4.5.0 is available -- if you update your package(s) you should get the new version.
This new version :-
DSFSparkline
packagePlease let me know if this helps with your issue.
@kmkarim did this fix your issue?
Closed due to inactivity and lack of feedback. 4.5.0 should help with this.
When adding DSKSparkline to a swift project the following error occurs in SwiftUI previews: