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

Fail to launch "Hello World" QML App on iOS simulator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.2.0 RC1
    • Fix Version/s: 5.2.0
    • Component/s: QPA
    • Environment:
      Mac OSX Mavericks, Xcode 5.0.2, Qt 5.0.2 RC1 from android_iOS build for Mac
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      I tried to create a new Qt Quick Application on QtCreator 3.0 that comes with Qt 5.2.0 RC1 on my Mac OSX Mavericks.

      When I try to launch the default "Hello World" application, it compiles it successfully, it opens the simulator with iOS 7, and then crashes.

      The only debug information I succeed to retrieve comes from the Simulator itself: (more in the attachment "simulator error")

      Dec 2 15:50:01 MacBook-Pro-de-Chris.local backboardd[8324] <Error>: __hid_dispatch_pthread_root_queue_create_block_invoke: specific=0x4f6cf00 pthread_self=0xb0219000
      Dec 2 15:50:01 MacBook-Pro-de-Chris.local backboardd[8324] <Error>: __hid_dispatch_pthread_root_queue_create_block_invoke: specific=0x4f6ce30 pthread_self=0xb029b000
      Dec 2 15:50:01 MacBook-Pro-de-Chris.local SpringBoard[8334] <Warning>: LICreateIconForImage passed NULL CGImageRef image
      Dec 2 15:50:03 MacBook-Pro-de-Chris.local backboardd[8324] <Warning>: CoreAnimation: updates deferred for too long
      Dec 2 15:50:03 MacBook-Pro-de-Chris com.apple.iphonesimulator.launchd.7d224475[8323] (UIKitApplication:net.creatiwity.WityRemote[0xf94d][8366]) <Notice>: Service exited due to signal: Bus error: 10
      Dec 2 15:50:03 MacBook-Pro-de-Chris.local backboardd[8324] <Warning>: Application 'UIKitApplication:net.creatiwity.WityRemote[0xf94d]' exited abnormally with signal 10: Bus error: 10

      QtCreator breakpoints on:
      0 realizeClass(objc_class*) realizeClass(objc_class*) 0x4ab54ea
      1 _class_getNonMetaClass _class_getNonMetaClass 0x4ab403a
      2 lookUpImpOrForward lookUpImpOrForward 0x4ab80e9
      3 _class_lookupMethodAndLoadCache3 _class_lookupMethodAndLoadCache3 0x4ab804e

      The weird thing comes when I open the compiled project in Xcode and I change the deployment target to iOS 6.1 and launches it with Xcode. It works, but not if I launch it again from QtCreator.

      Xcode even fails to compile the project when the target is set to 7.0 with these 4 Apple Mach-O Linker errors (see attachment "qt qml error").

      Maybe I've done something wrong with my Xcode config but I really don't think so, it's almost Vanilla installation of everything.

      Best regards.

        Attachments

        1. 2QML-apps.zip
          37 kB
        2. qtqml error.rtf
          10 kB
        3. simulator error.crash
          44 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vestbo Tor Arne Vestbø
            Reporter:
            julien1619 Julien Blatecky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes