Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19274

CLI: When building for iOS device the app will always be 32-bit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.0.0
    • Component/s: iOS
    • Environment:

      Appc CLI (Core): 4.2.0-1
      Ti SDK: 4.2.0.v20150728143620

    • Story Points:
      3
    • Sprint:
      2015 Sprint 15 SDK

      Description

      Description

      When building to device the app appears to always be 32-bit. Using the code below and xcrun lipo -info <PathToBinary> show that there is not 64bit slice when building for device.

      Note

      When packaging the 64-bit slice is present, as the app passes Xcode validation and xrcun shows that there is a 64-bit slice.
      This is a regression from 4.1.0.GA

      var win = Ti.UI.createWindow({
          backgroundColor: 'blue'
      });
      win.open();
      win.addEventListener('click', function(e) {
          console.log('ostype: ' + Ti.Platform.ostype);
          console.log('architecture: ' + Ti.Platform.architecture);
      });
      

      Steps to reproduce

      1. Add the above code to a project
      2. Build the app to a 64-bit device
      3. Tap the screen

      Actual result

      The below is printed out

      [INFO]  ostype: 32bit
      [INFO]  architecture: armv7
      

      Expected result

      The below should be printed out

      [INFO]  ostype: 64bit
      [INFO]  architecture: arm64
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Chris Barber
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20187
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration