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

Hyperloop-examples: GLCalendarView delegate crashes on iOS device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Hyperloop 2.1.0
    • Component/s: Hyperloop, iOS
    • Environment:

      mac osx, iphone 6 plus, iOS 9.3.2. I tested hyperloop version 1.2.3 and 1.2.4 ( master). I am using titanium 5.4.0

    • Sprint:
      2017 Sprint 09 SDK

      Description

      When I attempt to run https://github.com/appcelerator/hyperloop-examples on my iPhone and navigate to the Calendar example. The moment I touch an actual calendar day, the app crashes.

      I am able to scroll through the calendar, but I am unable to select dates.

      Here is the stacktrace I get:

      – Start application log -----------------------------------------------------
      [INFO] Hyperloop_Sample/1.0 (5.4.0.f343fcd)
      [ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'.
      [ERROR] Reason:
      [ERROR] -[CalendarDelegate calenderView:canAddRangeWithBeginDate:]: unrecognized selector sent to instance 0x1375d03c0
      [ERROR] Stack trace:
      [ERROR]
      [ERROR] 0 CoreFoundation 0x0000000183ab6db0 <redacted> + 124
      [ERROR] 1 libobjc.A.dylib 0x000000018311bf80 objc_exception_throw + 56
      [ERROR] 2 CoreFoundation 0x0000000183abdc4c <redacted> + 0
      [ERROR] 3 CoreFoundation 0x0000000183ababec <redacted> + 872
      [ERROR] 4 CoreFoundation 0x00000001839b8c5c _CF_forwarding_prep_0 + 92
      [ERROR] 5 Hyperloop_Sample 0x000000010026edac Hyperloop_Sample + 1732012
      [ERROR] 6 UIKit 0x0000000188e4e414 <redacted> + 608
      [ERROR] 7 UIKit 0x0000000188e4dd58 <redacted> + 540
      [ERROR] 8 UIKit 0x0000000188dbb458 <redacted> + 336
      [ERROR] 9 UIKit 0x0000000188e090f8 <redacted> + 60
      [ERROR] 10 UIKit 0x0000000188dbb458 <redacted> + 336
      [ERROR] 11 UIKit 0x0000000188e090f8 <redacted> + 60
      [ERROR] 12 UIKit 0x0000000188dbb458 <redacted> + 336
      [ERROR] 13 UIKit 0x0000000188e090f8 <redacted> + 60
      [ERROR] 14 UIKit 0x0000000188c04c0c <redacted> + 8988
      [ERROR] 15 UIKit 0x0000000188c45610 <redacted> + 1132
      [ERROR] 16 UIKit 0x0000000188c44c0c <redacted> + 764
      [ERROR] 17 UIKit 0x0000000188c1504c <redacted> + 248
      [ERROR] 18 UIKit 0x0000000188c13628 <redacted> + 6568
      [ERROR] 19 CoreFoundation 0x0000000183a6d09c <redacted> + 24
      [ERROR] 20 CoreFoundation 0x0000000183a6cb30 <redacted> + 540
      [ERROR] 21 CoreFoundation 0x0000000183a6a830 <redacted> + 724
      [ERROR] 22 CoreFoundation 0x0000000183994c50 CFRunLoopRunSpecific + 384
      [ERROR] 23 GraphicsServices 0x000000018527c088 GSEventRunModal + 180
      [ERROR] 24 UIKit 0x0000000188c7e088 UIApplicationMain + 204
      [ERROR] 25 Hyperloop_Sample 0x00000001000cd558 Hyperloop_Sample + 21848
      [ERROR] 26 libdyld.dylib 0x00000001835328b8 <redacted> + 4
      [ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CalendarDelegate calenderView:canAddRangeWithBeginDate:]: unrecognized selector sent to instance 0x1375d03c0'
      [ERROR] *** First throw call stack:
      [ERROR] (0x183ab6db0 0x18311bf80 0x183abdc4c 0x183ababec 0x1839b8c5c 0x10026edac 0x188e4e414 0x188e4dd58 0x188dbb458 0x188e090f8 0x188dbb458 0x188e090f8 0x188dbb458 0x188e090f8 0x188c04c0c 0x188c45610 0x188c44c0c 0x188c1504c 0x188c13628 0x183a6d09c 0x183a6cb30 0x183a6a830 0x183994c50 0x18527c088 0x188c7e088 0x1000cd558 0x1835328b8)
      [ERROR] objc[3130]: Class URLSessionDelegate is implemented in both /usr/lib/libTelephonyUtilDynamic.dylib and /var/containers/Bundle/Application/8C1ABCA9-D87E-439F-B076-ECBF4D2DA0C8/Hyperloop_Sample.app/Hyperloop_Sample. One of the two will be used. Which one is undefined.
      [INFO] Hyperloop_Sample/1.0 (5.4.0.f343fcd)
      [ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'.
      [ERROR] Reason:
      [ERROR] -[CalendarDelegate calenderView:canAddRangeWithBeginDate:]: unrecognized selector sent to instance 0x144dae070
      [ERROR] Stack trace:
      [ERROR]
      [ERROR] 0 CoreFoundation 0x0000000183ab6db0 <redacted> + 124
      [ERROR] 1 libobjc.A.dylib 0x000000018311bf80 objc_exception_throw + 56
      [ERROR] 2 CoreFoundation 0x0000000183abdc4c <redacted> + 0
      [ERROR] 3 CoreFoundation 0x0000000183ababec <redacted> + 872
      [ERROR] 4 CoreFoundation 0x00000001839b8c5c _CF_forwarding_prep_0 + 92
      [ERROR] 5 Hyperloop_Sample 0x000000010021edac Hyperloop_Sample + 1732012
      [ERROR] 6 UIKit 0x0000000188e4e414 <redacted> + 608
      [ERROR] 7 UIKit 0x0000000188e4dd58 <redacted> + 540
      [ERROR] 8 UIKit 0x0000000188dbb458 <redacted> + 336
      [ERROR] 9 UIKit 0x0000000188e090f8 <redacted> + 60
      [ERROR] 10 UIKit 0x0000000188dbb458 <redacted> + 336
      [ERROR] 11 UIKit 0x0000000188e090f8 <redacted> + 60
      [ERROR] 12 UIKit 0x0000000188dbb458 <redacted> + 336
      [ERROR] 13 UIKit 0x0000000188e090f8 <redacted> + 60
      [ERROR] 14 UIKit 0x0000000188c4c084 <redacted> + 804
      [ERROR] 15 UIKit 0x0000000188c44c20 <redacted> + 784
      [ERROR] 16 UIKit 0x0000000188c1504c <redacted> + 248
      [ERROR] 17 UIKit 0x0000000188c13628 <redacted> + 6568
      [ERROR] 18 CoreFoundation 0x0000000183a6d09c <redacted> + 24
      [ERROR] 19 CoreFoundation 0x0000000183a6cb30 <redacted> + 540
      [ERROR] 20 CoreFoundation 0x0000000183a6a830 <redacted> + 724
      [ERROR] 21 CoreFoundation 0x0000000183994c50 CFRunLoopRunSpecific + 384
      [ERROR] 22 GraphicsServices 0x000000018527c088 GSEventRunModal + 180
      [ERROR] 23 UIKit 0x0000000188c7e088 UIApplicationMain + 204
      [ERROR] 24 Hyperloop_Sample 0x000000010007d558 Hyperloop_Sample + 21848
      [ERROR] 25 libdyld.dylib 0x00000001835328b8 <redacted> + 4
      [ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CalendarDelegate calenderView:canAddRangeWithBeginDate:]: unrecognized selector sent to instance 0x144dae070'
      [ERROR] *** First throw call stack:
      [ERROR] (0x183ab6db0 0x18311bf80 0x183abdc4c 0x183ababec 0x1839b8c5c 0x10021edac 0x188e4e414 0x188e4dd58 0x188dbb458 0x188e090f8 0x188dbb458 0x188e090f8 0x188dbb458 0x188e090f8 0x188c4c084 0x188c44c20 0x188c1504c 0x188c13628 0x183a6d09c 0x183a6cb30 0x183a6a830 0x183994c50 0x18527c088 0x188c7e088 0x10007d558 0x1835328b8)

      ^C%

      It is worth pointing out this example works on the Simulator. Also, the other examples do work on the device. It is this specific example which does not work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                sophrinix Andrew McElroy
                Reviewer:
                Hans Knöchel
                Tester:
                Abir Mukherjee
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration