Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issue #353

Open
easiwriter opened this issue Dec 11, 2024 · 2 comments
Open

Compilation issue #353

easiwriter opened this issue Dec 11, 2024 · 2 comments

Comments

@easiwriter
Copy link

I'm suddenly getting this:

dependencies: [
    .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
],

/Users/writingshedprod/Library/Developer/Xcode/DerivedData/write-fnnnhuampnwjsxetbxrutdlbktac/SourcePackages/checkouts/proton/Package.swift:31:10 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')

No idea why this has started happening.

@rajdeep
Copy link
Owner

rajdeep commented Dec 11, 2024

@easiwriter, I have recently updated SnapshotTesting library to a newer version. Could you please try clearing Derived Data? Also, this is only a deprecation warning and should not cause any compilation issues. I'll update the code to fix the warning though.

@rajdeep
Copy link
Owner

rajdeep commented Dec 11, 2024

Addressed in #354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants