Skip to content

Commit 8c500d3

Browse files
committed
Remove v2 code from v1
Motivation: There's a bug in SwiftPM which prohibits the Xcode build system from being used if a dependency explicitly declares which Swift language mode is being used, regardless of its value. A number of users are running into this problem, and while it's not a gRPC Swift bug we can work around the issue by removing the v2 code from the v1 branch and removing the Swift 6 specific manifest. Modifications: - Remove all v2 code - Remove workarounds in the SwiftPM build plugin which avoid deprecation warnings. It turns out that the guard was incorrect anyway: the API isn't guarded by the compiler version, but the package tools version. Result: Possible to build v1 with SwiftPM using the Xcode build system.
1 parent 3ef3a9f commit 8c500d3

File tree

265 files changed

+10
-52078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+10
-52078
lines changed

Examples/v2/echo/Echo.swift

Lines changed: 0 additions & 27 deletions
This file was deleted.

Examples/v2/echo/Generated/echo.grpc.swift

Lines changed: 0 additions & 493 deletions
This file was deleted.

Examples/v2/echo/Generated/echo.pb.swift

Lines changed: 0 additions & 129 deletions
This file was deleted.

Examples/v2/echo/Subcommands/ClientArguments.swift

Lines changed: 0 additions & 35 deletions
This file was deleted.

Examples/v2/echo/Subcommands/Collect.swift

Lines changed: 0 additions & 59 deletions
This file was deleted.

Examples/v2/echo/Subcommands/Expand.swift

Lines changed: 0 additions & 59 deletions
This file was deleted.

Examples/v2/echo/Subcommands/Get.swift

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)