grpc-swift icon indicating copy to clipboard operation
grpc-swift copied to clipboard

Fix warnings in SwiftPM plugin

Open glbrntt opened this issue 1 year ago • 0 comments

Motivation:

SwiftPMs 'Path' was all but deprecated in Swift 6 resulting in numerous warnings for the SwiftPM build plugin. It has largely been replaced by URL.

Modifications:

  • Add a wrapper type to the plugin which wraps Path or URL depending on the compiler version.

Result:

No build plugin warnings for Swift 6 compilers

glbrntt avatar Jul 02 '24 14:07 glbrntt