Open langyanduan opened 8 years ago
The word "Protobuf" is a reserved name for standard packages from google.
"Google.Protobuf" is a reserved name? But i see other language can supports "xxx.Protobuf" as package name.
I confirm, other languages support package name like com.something.somethingelse.protobuf. "protobuf" in package name doesn't seem to be reserved word.
I've encountered the same issue when tried to compile proto file from my project (actively used with several mainstream languages).
protoc
protobuf-swift
Cocoapods
Error
if named package end with
.Protobuf
, theswift
file will has wrong package name..proto
file.swift
fileOK
if package named end with other word like
Swift.Protobuf1
, it's look good..proto
file.swift
file