alexeyxo / protobuf-swift

Google ProtocolBuffers for Apple Swift
http://protobuf.io/#swift
Apache License 2.0
940 stars 138 forks source link

how to parse "proto3" files? #95

Closed brasilikum closed 9 years ago

brasilikum commented 9 years ago

In the README you show examples of proto3, yet when I try to parse, I get Unrecognized syntax identifier "proto3". This parser only recognizes "proto2".

After I installed protoc 3.0 and want to install protobuf-swift, I get the error: This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers. Please regenerate this file with a newer version of protoc.

How can it be done? Thank you

brasilikum commented 9 years ago

Close. Had not seen earlier that there ist the Protobuf3.0-Swift2.0 branch