Skip to content

Conversation

@banjun
Copy link

@banjun banjun commented Nov 24, 2020

fixes #1051

Xcode 12 (Xcode 12.2) has some build issues when SwiftGRPC-Carthage.xcodeproj runs its pre-action script. the script executes swift package resolve and is affected by some env when it's build on Xcode 12.x.

This PR applies a workaround for that. In addition, Swift Package Manager in Xcode 12 generates a different filename in the intermediate .build folder (.build/dependencies-state.json -> .build/workspace-state.json). This PR also fixes it.

grpc-swift may require Xcode 12.x after this PR is merged.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 24, 2020

CLA Signed

The committers are authorized under a signed CLA.

Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks fine.

@glbrntt glbrntt merged commit 66f5a00 into grpc:maintenance/0.9.x Nov 24, 2020
@banjun banjun deleted the fix-0.9.1-carthage-xcode12 branch November 25, 2020 02:03
@tosh7
Copy link

tosh7 commented Jul 1, 2022

@glbrntt
Could you push 0.9.2 version to CocoaPods/Specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants