{ "id": "120139", "key": "AC-1764", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-09-18T08:06:54.000+0000", "created": "2013-09-18T07:58:38.000+0000", "labels": [ "int64", "ios", "modules" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Hi, When I build a IOS module using sdk 3.1.2.GA, I have a problem trying to return int64 value.\r\n\r\n{panel:title=The Obj-C Function| borderStyle=dashed| borderColor=#ccc| titleBGColor=#F7D6C1| bgColor=#FFFFCE} \r\n-(int64) getCustomerId:(id)args\r\n{\r\n int64 customerId =1;\r\n NSLog(@\"Customer Id %lli\", customerId);\r\n \r\n return customerId;\r\n} \r\n{panel}\r\n\r\nThe value received in the app is : 938417712643042800 this works in SDK vers 2.X and maybe in 3.0 but not in 3.1.2.GA and 3.1.1.GA\r\nAny idea of how to solve this ? is it a bug in the sdk ?\r\nRegards\r\nArmindo", "attachment": [], "flagged": false, "summary": "Problem in IOS module when trying to return a int64 value", "creator": { "name": "ads", "key": "ads", "displayName": "Armindo Da Silva", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ads", "key": "ads", "displayName": "Armindo Da Silva", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX 10.8.5 / XCode 4.6.3 / Ti SDK 3.1.2.GA", "comment": { "comments": [ { "id": "271696", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nCan you post some runnable test code, which I can test? \r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-18T08:06:54.000+0000", "updated": "2013-09-18T08:06:54.000+0000" }, { "id": "285934", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested this issue with the sample module code below. This is an invalid issue since we can't reproduce it. Let us know if this get any error with our sample.\r\n\r\nh5. Test Environment:\r\n\r\nMAC OS X 10.8.5\r\nXCode 5.0.2 \r\nIOS SDK 7.0.3\r\n\r\n\r\nh5. Test Code\r\n{code}\r\n\r\n-(int64_t) getCustomerId:(id)args\r\n{\r\n int64_t customerId =938417712643042800;\r\n return customerId;\r\n}\r\n{code}\r\n\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T05:14:53.000+0000", "updated": "2013-12-27T19:19:34.000+0000" }, { "id": "286335", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since we are getting no additional updates from the original reporter and we can't reproduce it.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-31T04:25:08.000+0000", "updated": "2013-12-31T04:25:08.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }