{"action":"opened","issue":{"url":"https://api.github.com/repos/mingchen/protobuf-ios/issues/9","labels_url":"https://api.github.com/repos/mingchen/protobuf-ios/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mingchen/protobuf-ios/issues/9/comments","events_url":"https://api.github.com/repos/mingchen/protobuf-ios/issues/9/events","html_url":"https://github.com/mingchen/protobuf-ios/issues/9","id":61134522,"number":9,"title":"Message can't be build to NSData.","user":{"login":"shushaoyefeng","id":7894227,"avatar_url":"https://avatars.githubusercontent.com/u/7894227?v=3","gravatar_id":"","url":"https://api.github.com/users/shushaoyefeng","html_url":"https://github.com/shushaoyefeng","followers_url":"https://api.github.com/users/shushaoyefeng/followers","following_url":"https://api.github.com/users/shushaoyefeng/following{/other_user}","gists_url":"https://api.github.com/users/shushaoyefeng/gists{/gist_id}","starred_url":"https://api.github.com/users/shushaoyefeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shushaoyefeng/subscriptions","organizations_url":"https://api.github.com/users/shushaoyefeng/orgs","repos_url":"https://api.github.com/users/shushaoyefeng/repos","events_url":"https://api.github.com/users/shushaoyefeng/events{/privacy}","received_events_url":"https://api.github.com/users/shushaoyefeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-13T16:53:47Z","updated_at":"2015-03-13T16:53:47Z","closed_at":null,"body":"Hi, Chen Ming\r\nThanks for share this project. I have some problems with this version.\r\nIn my project, i can use the automake cmd to generate the protoc tool.\r\nAnd i can use the protoc to generate the .pb.m and .pb.h. But, i can't use the function to generate the NSData.\r\nHere is my code:\r\n----------------------------------------------------------------------------------------------------------\r\n    UpStream_Builder *up = [[UpStream_Builder alloc] init];\r\n    [up setUid:@\"18566759117\"];\r\n    [up setUType:0];\r\n    [up setPassword:@\"123456\"];\r\n    [up setSeq:567];\r\n    [up setVersion:@\"100\"];\r\n    [up setData:nil];\r\n    [up setExtra:nil];\r\n    [up setDeviceInfo:@\"iphone\"];\r\n    [up setCmd:@\"register\"];\r\n\r\n    NSData *upData = [[up build] data];\r\n----------------------------------------------------------------------------------------------------------\r\nthe upData is nil.\r\n\r\nDo you and your users meet that problems?\r\n\r\nPS. when i execute the ./autogen.sh, There some error of subdir-objects error, So, i google it and change the ./configure.ac which \"AM_INIT_AUTOMAKE\" to \"AM_INIT_AUTOMAKE(subdir-objects)\". And warning that there some lib not in POSIX format. i don't know that is wrong or correct.\r\nI have upload the pictures, thanks!\r\n![Uploading 2.JPG . . .]()\r\n![Uploading endMakeCMD.JPG . . .]()\r\n![Uploading 3.JPG . . .]()\r\n\r\n"}}