-
Notifications
You must be signed in to change notification settings - Fork 435
Description
I have a workaround for this error below. I would like to send a PR on top of 0.9.1 if there's a target branch just on it (such as maintenance/0.9.x).
Describe the bug
On Xcode 12, SwiftGRPC-Carthage.xcodeproj of grpc-swift 0.9.1 does not build successfully.
To reproduce
Xcode: Xcode 12 (Xcode 12.2)
Steps to reproduce the bug you've found:
git checkout 0.9.1rm -rf .build# make sure there are no intermediatesopen SwiftGRPC-Carthage.xcodeproj- Build SwiftGRPC-Package
Expected behaviour
the build succeeds
Actual behaviour:
error: Build input files cannot be found: '/Users/user/project/github/grpc-swift/.build/checkouts/swift-protobuf.git-2635211014727342512/Sources/SwiftProtobuf/JSONDecodingOptions.swift', ...
Additional information
The error is caused indirectly by swift package resolve in the build pre-action of SwiftGRPC-Carthage.xcodeproj. An available workaround is here:
I really want to stick with 0.9.1 for the time being before migrating to 1.0.0 to save some time.