Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1764

Problem in IOS module when trying to return a int64 value

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Needs more info
    • Affects Version/s: None
    • Component/s: Appcelerator Modules
    • Labels:
    • Environment:

      OSX 10.8.5 / XCode 4.6.3 / Ti SDK 3.1.2.GA

      Description

      Hi, When I build a IOS module using sdk 3.1.2.GA, I have a problem trying to return int64 value.

      The Obj-C Function

      -(int64) getCustomerId:(id)args

      Unknown macro: { int64 customerId =1; NSLog(@"Customer Id %lli", customerId); return customerId; }

      The 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
      Any idea of how to solve this ? is it a bug in the sdk ?
      Regards
      Armindo

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              ads Armindo Da Silva
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration