Skip to content
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

Namespaces are not respected #27

Open
tamird opened this issue Jan 14, 2015 · 1 comment
Open

Namespaces are not respected #27

tamird opened this issue Jan 14, 2015 · 1 comment
Assignees

Comments

@tamird
Copy link

tamird commented Jan 14, 2015

Hello! Thanks for maintaining this project. We're evaluating using this for our iOS apps and have run into a filename-collision issue, which seems to be caused by protobuf-objc not respecting package namespaces. Repro:

foo/person.proto:

package foo;

message Person {
 optional uint32 age = 1;
}

bar/person.proto:

package bar;

message Person {
 optional uint32 age = 1;
}

output:

~ protoc --plugin=../../protobuf-objc/src/compiler/protoc-gen-objc {foo,bar}/person.proto --objc_out=../../objc_protos
Person.pb.h: Tried to write the same file twice.
Person.pb.m: Tried to write the same file twice.
~ echo $?
1
@lolgear
Copy link

lolgear commented Jun 2, 2016

any update on this issue?

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

No branches or pull requests

3 participants