1 Reply
      Latest reply on Sep 11, 2019 7:11 AM by ylapitsky
      ylapitsky Level 1 Level 1 (0 points)

        Hello,

        I've tried the latest Xcode 11 Beta 7 to work with CarPlay Simulator and apparently there is no events coming (like AppDelegate application:didConnectCarInterfaceController:toWindow). Just in case the same code works with Xcode 10.2.1.

        Is it a known issue or I need to change something?

        Thanks in advance.

        Yury



        • Re: Seems like CarPlay (Simulator) couldn't be used on Xcode 11 Beta 7
          ylapitsky Level 1 Level 1 (0 points)

          Actually there is even worse situation with the Xcode 11 GM, the CarPlay Simulator screen doesn't show anything and crashes with:

          Application Specific Information:
          *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid parameter not satisfying: bundle'
          terminating with uncaught exception of type NSException
          abort() called
          CoreSimulator 681.5.1 - Device: iPhone 8 (EBA94B1E-F366-415C-9B8D-AB01D48C3920) - Runtime: iOS 13.0 (17A577) - DeviceType: iPhone 8
          
          
          Application Specific Backtrace 1:
          0   CoreFoundation                      0x00007fff23b98bde __exceptionPreprocess + 350
          1   libobjc.A.dylib                     0x00007fff503b5b20 objc_exception_throw + 48
          2   HMFoundation                        0x00007fff38181c53 -[HMFLocationAuthorization dealloc] + 0
          3   CarPlay                             0x0000000106235ec0 CarPlay + 167616
          4   CarPlay                             0x000000010620fe05 CarPlay + 11781
          5   CarPlay                             0x000000010627f37e CarPlay + 467838
          6   CarPlay                             0x00000001062207c0 CarPlay + 79808
          7   CarPlay                             0x000000010626b18c CarPlay + 385420
          8   CarPlay                             0x00000001062425e0 CarPlay + 218592
          9   CarPlay                             0x000000010628cfdc CarPlay + 524252
          10  CarPlay                             0x000000010628c57a CarPlay + 521594
          11  CarPlay                             0x000000010628ede3 CarPlay + 531939
          12  UIKitCore                           0x00007fff47162215 UIApplicationInstantiateSingleton + 93
          13  UIKitCore                           0x00007fff471627e4 UIApplicationMain + 978
          14  libdyld.dylib                       0x00007fff5123bcf5 start + 1