Description
Hi all,
We love your library, but currently it doesn't seem to be usable with Xcode 16.1. When importing the library, an error is observed that prevents compilation of the test target. I included a minimal sample project down below. This is pretty urgent since we are a week away from a new Xcode RC.
Describe the bug
When importing SnapshotTesting in a project, the following error occurs:
Missing required module 'Testing'
To Reproduce
swift-snapshot-testing.zip
import SnapshotTesting
final class SnapshotTestSampleUITests: XCTestCase {
Expected behavior
The project should compile without errors when importing SnapshotTesting, and the SnapshotTesting library should function as expected without the Testing module error.
Environment
- swift-snapshot-testing version 1.17.4
- Xcode 16.1.0 Beta
- Swift 5
- OS: macOS 14.5 / iOS 18.1 Simulator
@stephencelis Am happy to help fork and fix this if I can get some more information on the Testing framework and the wizardry happening with the imports here. Thanks!