Commit 8c500d3
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- Examples/v2
- echo
- Generated
- Subcommands
- hello-world
- Generated
- Subcommands
- route-guide
- Generated
- Subcommands
- Plugins/GRPCSwiftPlugin
- Sources
- GRPCCodeGen
- Internal
- Renderer
- Translator
- GRPCCore
- Call
- Client
- Internal
- Server
- Internal
- Coding
- Configuration
- Documentation.docc
- Articles
- Development
- Tutorials
- Hello-World
- Resources
- Resources
- Route-Guide
- Resources
- Internal
- Concurrency Primitives
- Streaming
- Internal
- Transport
- GRPCHTTP2Core
- Client
- Connection
- LoadBalancers
- Resolver
- Compression
- Internal
- Server
- Connection
- GRPCHTTP2TransportNIOPosix
- GRPCHTTP2TransportNIOTransportServices
- GRPCHTTP2Transport
- GRPCInProcessTransport
- GRPCInterceptors
- GRPCProtobufCodeGen
- GRPCProtobuf
- InteroperabilityTests
- Generated
- Services/Health
- Generated
- interoperability-tests
- performance-worker
- Generated
- protoc-gen-grpc-swift
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 changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments