proton icon indicating copy to clipboard operation
proton copied to clipboard

Compilation issue

Open easiwriter opened this issue 11 months ago • 2 comments

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.

easiwriter avatar Dec 11 '24 07:12 easiwriter

@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 avatar Dec 11 '24 10:12 rajdeep

Addressed in #354

rajdeep avatar Dec 11 '24 10:12 rajdeep