[protobuf] Re: (objective-c) How to trigger code re-generation

2015-11-11 Thread Rob Cecil
The only solution I have found is to bump the version number in the .podspec for your proto files. On Monday, November 9, 2015 at 12:14:34 PM UTC-5, Rob Cecil wrote: > > I'm using Cocoapods and my initial project build succeeds. Steps > > 1. Created .podspec referencing my .protos and output

[protobuf] (objective-c) Techniques for marshal/unpacking structured data from .proto bytes field

2015-11-11 Thread Rob Cecil
I'm using the objective-c version Protobufs. I have a .proto defined as message RangeData { int32 rows = 1; int32 columns = 2; bytes data = 3; } The server-side has been developed in C#/.Net. I'm able to successfully send/receive and unpack the data from the 'data' field 3 above. In the c#

[protobuf] Re: (objective-c) How to trigger code re-generation

2015-11-11 Thread Jorge Luis Canizales Diaz
Hi Rob, unfortunately Cocoapods wants to distance themselves from the use cases of a build system, so the solution you've found is the only one that fits its system. Another, a bit more blunt, way to make Cocoapods rerun the "prepare_command" commands is to delete your workspace and

[protobuf] JsonToBinaryString does not seem to complain about mistyped fields?

2015-11-11 Thread Abhishek Parmar
I am using v3.0.0-beta-1 Based on a quick read of the code I thought google/protobuf/util/internal/protostream_objectwriter.cc was not doing error checks in method ProtoStreamObjectWriter::AnyWriter::RenderDataPiece There was a TODO to make attention to status which seem to have been fixed

[protobuf] Re: (objective-c) Techniques for marshal/unpacking structured data from .proto bytes field

2015-11-11 Thread Jorge Luis Canizales Diaz
[CC: Jon for the C# side and TVL for the ObjC side] Hi Rob! when you say: > I am currently taking a object array in C# and packing that into the ByteString. How are you accomplishing that? I see from your example that the elements of your array aren't proto messages, so maybe .Net has its