pointfreeco / swift-snapshot-testing

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

SnapshotTesting failed to build (Extra argument 'sourceLocation' in call) #917

Closed kostasniks closed 1 month ago

kostasniks commented 1 month ago

Describe the bug I've seen in the past someone else also reported this and I thought it was solved but it keeps giving me this. The problem is that SnapshotTesting Library is not building under Xcode 16.0 beta 2 (16A5171r).

To Reproduce Xcode 16.0 beta 2 (16A5171r)

Expected behavior Build without errors.

Screenshots CleanShot 2024-10-11 at 00 33 33

Environment

mbrandonw commented 1 month ago

Hi @kostasniks, you are using a very old beta of Xcode. If you use the official release this error will not appear.

Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there!