add mac ios protobuf