You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Expected behavior
The project should compile without errors when importing SnapshotTesting, and the SnapshotTesting library should function as expected without the Testing module error.
Screenshots
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!
The text was updated successfully, but these errors were encountered:
Hi @JRR-OSU, the project you have provided compiles just fine in Xcode 16.1 beta for me, and I also created a fresh project, added SnapshotTesting, and that too compiles just fine.
Can you please provide a project that demonstrates the problem? And since it is not clear this is an issue with the library, I am going to convert this to a discussion. Please feel free to continue the conversation over there.
Uh oh!
There was an error while loading. Please reload this page.
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
Expected behavior
The project should compile without errors when importing SnapshotTesting, and the SnapshotTesting library should function as expected without the Testing module error.
Screenshots

Environment
@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!
The text was updated successfully, but these errors were encountered: