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

Build time error #247

Open
gregoireLem opened this issue Nov 14, 2018 · 1 comment
Open

Build time error #247

gregoireLem opened this issue Nov 14, 2018 · 1 comment

Comments

@gregoireLem
Copy link

Version of protoc (protoc --version)

3.6.1

Version of ProtocolBuffers.framework

4.0.6

.proto file to reproduce

syntax = "proto3";

message accl {
  double x = 1;
  double y = 2;
  double z = 3;
}

message gyro {
  double x = 1;
  double y = 2;
  double z = 3;
}

message magn {
  double x = 1;
  double y = 2;
  double z = 3;
}

message raw_data_item {
  oneof data {
  	accl accl = 1;
    gyro gyro =2;
  	magn magn = 3;
  }
  uint32 timestamp = 5;
}

Description

I have several build time error (in Xcode 10)

capture d ecran 2018-11-14 a 16 03 09

@gregoireLem
Copy link
Author

Ok it was due to data that conflict with the Data type of swift. I changed it to datas, and it is working fine

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

1 participant