pointfreeco / swift-snapshot-testing

📸 Delightful Swift snapshot testing.
https://www.pointfree.co/episodes/ep41-a-tour-of-snapshot-testing
MIT License
3.72k stars 565 forks source link

Update .spi.yml #785

Closed finestructure closed 10 months ago

finestructure commented 10 months ago

Fix watchOS builds by selecting correct scheme

stephencelis commented 10 months ago

@finestructure Just to understand, does this mean watchOS isn't building InlineSnapshotTesting?

finestructure commented 10 months ago

It wouldn't, no. We only support a single scheme and we've got to pick one here. Unless the repo came with an xcodeproj file that sets up a different scheme that builds both of the other schemes (or targets, in SwiftPM parlance).

It really comes down to which target/scheme you prefer as a compatibility indicator.

Actually, I've just looked at the package manifest and InlineSnapshotTesting depends on SnapshotTesting. So the easiest thing is just to use InlineSnapshotTesting as the "driving" scheme. I'll update the PR.