I’m using the protobuf in objective c. But I’m getting the below exception. 
Please check the error  and help me how to resolve this. 


Terminating app due to uncaught exception 'NSInvalidArgumentException', 
reason: '-[PeoplePairBuilder serializedSize]: unrecognized selector sent to 
instance 0x7fea2961a2f0'



MuxRequestBuilder *muxRequestBuilder = [MuxRequest builder];

 PeoplePairBuilder *eyePairRequestBuilder = [PeopleBuilder builder];

  ImageBuilder *imageRequestBuilder = [Image builder];

  [muxRequestBuilder setUid:@"12234"];

  [muxRequestBuilder setSessionId:@"WERWE234234234"];


  for (int i = 0; i < 5; i++) {

    UIImage *image = [UIImage imageNamed:@"Mushroom2.PNG"];

    NSData *imageData = UIImagePNGRepresentation(image);




                    setProfileImage:[imageRequestBuilder setData:imageData]]




 MuxRequest *muxRequest = [muxRequestBuilder build];

  NSError *error;

  NSData *jsonJobData = [muxRequest data]; //Here I’m getting error 



You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to