inseven / builds

GitHub Actions status board for macOS and iOS
MIT License
1 stars 1 forks source link

fix: Use placeholders for unconfigured widgets #358

Closed jbmorley closed 2 months ago

jbmorley commented 2 months ago

Under the hood, this change does a lot of work to add support for getting SwiftUI previews working--there's a really curious [I think] bug with SwiftUI preview target generation where it ends up including SelectableCollectionView's macOS resources when trying to compile for iOS. To work around it, this change pulls the views to preview down into BuildsCore and introduces a couple of additional targets which link only BuildsCore to avoid this mess and ensure previews will compile.