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

iOS: Application crashes on launch on iOS9

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 8.0.0
    • Fix Version/s: Release 8.0.0
    • Component/s: iOS
    • Labels:
      None

      Description

      Description

      Running a default application to iOS 9 crashes on launch with the below (this isn't logged either fwiw). This looks to be down to the usage of const, if I change addBinding to be declared with var it works, if I enable transpilation it work. I will investigate this further as there is usage of const/let throughout the new os/path code so I assume they will error.

      /ti.main.js:33
      const addBinding = require('./ti.internal/extensions/binding');
      ^
      (null)
      (null)
       
      4   TitaniumKit0x0000000109a7b34c -[KrollBridge evalFile:callback:selector:] + 55
      5   TitaniumKit0x0000000109a7bd0d -[KrollBridge didStartNewContext:] + 1805
      6   TitaniumKit0x0000000109ab340e -[KrollContext main] + 1084
      7   libdispatch.dylib    0x000000010be05c89 _dispatch_call_block_and_release + 12
      8   libdispatch.dylib    0x000000010be213d7 _dispatch_client_callout + 8
      9   libdispatch.dylib    0x000000010be0be5d _dispatch_main_queue_callback_4CF + 714
      10  CoreFoundation  0x000000010a4f40f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
      11  CoreFoundation  0x000000010a4b5b99 __CFRunLoopRun + 2073
      12  CoreFoundation  0x000000010a4b50f8 CFRunLoopRunSpecific + 488
      13  GraphicsServices0x000000010c443ad2 GSEventRunModal + 161
      14  UIKit 0x0000000106359f09 UIApplicationMain + 171
      15  ticreateapp0x00000001047d9286 main + 950
      16  libdyld.dylib   0x000000010be5092d start + 1
      

      Steps to reproduce
      1. Create a default application
      2. Build it for iOS 9 (sim or device

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Ewan Harris
              Tester:
              Samir Mohammed
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code