Closed lucasecf closed 1 month ago
I'm also seeing this issue
I'm closing this issue because it was actually fixed in the newly released version 1.17.4
https://github.com/pointfreeco/swift-snapshot-testing/pull/885
Ah yes, thanks for cleaning this up for us @lucasecf!
Describe the bug
swift-snapshot-testing
doesn't build anymore in the just released Xcode beta 5. Everything was fine up to the beta 4 build, so this is something new that this new version introduced I guess.The error says
Cannot find type 'CustomExecutionTrait' in scope
- not sure if this type was just removed or the file using it needs aimport
something. Could not find any information about it in the release notes.The line causing the build error is this one: https://github.com/pointfreeco/swift-snapshot-testing/blob/e883fc9ea51e76dc9ed13fd4a92b0ee258a1e8c9/Sources/SnapshotTesting/SnapshotsTestTrait.swift#L35
Cannot really tell if this is a problem that will be only on this beta version or an "expected change" that will be propagated up to the release version.
To Reproduce
Just try to build
swift-snapshot-testing
on a test module using Xcode beta build 5Expected behavior
The package builds properly on the latest Xcode
Screenshots
Environment
1.17.3
(latest so far)