Swift Snapshot Testing #3555
Answered
by
mbrandonw
easiwriter
asked this question in
Q&A
-
I have added snapshot testing to my project from https://github.com/pointfreeco/swift-snapshot-testing.git, but it won't compile. I am using Xcode 16.2 and IOS 18. Here is the start of the error messages. Can someone let me know where I am going wrong. Thanks. ![]() |
Beta Was this translation helpful? Give feedback.
Answered by
mbrandonw
Jan 14, 2025
Replies: 1 comment 1 reply
-
Hi @easiwriter, this is most likely happening because you linked SnapshotTesting with your app target. It should only be linked to the test target. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
easiwriter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @easiwriter, this is most likely happening because you linked SnapshotTesting with your app target. It should only be linked to the test target.