Skip to content

Error --swift_out: protoc-gen-swift: Plugin killed by signal 6. #725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tsomaev opened this issue Feb 27, 2018 · 3 comments
Closed

Error --swift_out: protoc-gen-swift: Plugin killed by signal 6. #725

tsomaev opened this issue Feb 27, 2018 · 3 comments

Comments

@tsomaev
Copy link

tsomaev commented Feb 27, 2018

❌ When i try to convert .proto file via protoc --swift_out= DriveAuth.proto, i get the follow error

--swift_out: protoc-gen-swift: Plugin killed by signal 6.

screen shot 2018-02-27 at 22 53 35

How fix this error ? Thanks 🙏

@thomasvl
Copy link
Collaborator

How did you install the Swift plugin? Sounds like maybe it is linked with a different runtime version? Maybe revisit https://github.com/apple/swift-protobuf#building-and-installing-the-code-generator-plugin ?

@tsomaev
Copy link
Author

tsomaev commented Feb 28, 2018

@thomasvl thanks for answer. I solved this problem by reinstall protobuf via homebrew ✅

@tsomaev tsomaev closed this as completed Feb 28, 2018
@tbkka
Copy link
Collaborator

tbkka commented Feb 28, 2018

For anyone else who stumbles across this: This is currently expected behavior whenever you upgrade Xcode. Swift does not have a stable library ABI today, so upgrading Xcode will change the Swift libraries, which currently requires recompiling any Swift code.

Swift 5 is supposed to stabilize the library ABI which will stop this kind of breakage.

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

No branches or pull requests

3 participants