Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118988

Fails to load iOS LaunchScreen with newer Qt version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.2
    • QPA
    • None
    • MacOS Ventura (13.1)
      Xcode 14.3.1
      Qt Creator 11.0.3
      iOS 16.6.1
    • iOS/tvOS/watchOS

    Description

      App has been working on several platforms with Qt 5.12.12.  Now I'm trying to upgrade to 5.15.2, and it is working on various platforms but crashing at startup on iOS...

       

      2023-11-08 13:21:16.586786-0800 RiffTrax Sync[12521:823844] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </private/var/containers/Bundle/Application/E8285AE0-8B30-431F-8DAC-CDC8D1F41F27/RiffTrax Sync.app> (loaded)' with name 'LaunchScreen'' 

       

      Thread 1 Queue : com.apple.main-thread (serial)
      #0    0x00000001a4ec0c24 in __abort ()
      #1    0x00000001a4e68184 in abort ()
      #2    0x00000001fd6b6bf8 in abort_message ()
      #3    0x00000001fd6a6444 in demangling_terminate_handler() ()
      #4    0x00000001969e5ea4 in _objc_terminate() ()
      #5    0x00000001fd6b5fbc in std::__terminate(void (*)()) ()
      #6    0x00000001fd6b5f60 in std::terminate() ()
      #7    0x00000001969fbd04 in objc_terminate ()
      #8    0x0000000106f0604c in _dispatch_client_callout ()
      #9    0x0000000106f09aa0 in _dispatch_block_invoke_direct ()
      #10    0x00000001b39ca24c in __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ ()
      #11    0x00000001b39c9de8 in -[FBSSerialQueue _targetQueue_performNextIfPossible] ()
      #12    0x00000001b39cc694 in -[FBSSerialQueue _performNextFromRunLoopSource] ()
      #13    0x000000019da0a128 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
      #14    0x000000019da167b4 in __CFRunLoopDoSource0 ()
      #15    0x000000019d99b5e8 in __CFRunLoopDoSources0 ()
      #16    0x000000019d9b10d4 in __CFRunLoopRun ()
      #17    0x000000019d9b63ec in CFRunLoopRunSpecific ()
      #18    0x00000001d8ecc35c in GSEventRunModal ()
      #19    0x000000019fd42f58 in -[UIApplication _run] ()
      #20    0x000000019fd42bbc in UIApplicationMain ()
      #21    0x00000001025e3d90 in qt_main_wrapper at /Users/qt/work/qt/qtbase/src/plugins/platforms/ios/qioseventdispatcher.mm:242
      #22    0x00000001bcee8dec in start ()
       

      Exception occurs via 'qt_main_wrapper' prior to my 'main' function.

       

      In the Xcode project I see "LaunchScreen.storyboard" in "Bundle Data".  I tried changing my project name to not have spaces, but that did not fix it.  I've attached my plists which are almost identical, yet it works on MacOS.

       

      Attachments

        1. Info-ios.plist
          3 kB
        2. Info-mac.plist
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            giantguppy Christopher Anderson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes