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

Building an example with qmake targeting the iOS Device SDK in debug config fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta1
    • Fix Version/s: 6.0.0 RC
    • Component/s: Build System
    • Labels:
    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      f44dfe9c34a6c2aebf0c24b2b7c95c52c2a004ba (qt/qt5/dev)

      Description

      Qmake based projects built with Creator don't work on debug mode, when switching to release mode examples get build and can be deployed to device.

      Output from debug build:

      2020-10-15 15:04:43.136 xcodebuild[38603:487234]  DTDKRemoteDeviceConnection: Failed to start remote service "com.apple.mobile.notification_proxy" on device. Error: Error Domain=com.apple.dtdevicekit Code=811 "Failed to start remote service "com.apple.mobile.notification_proxy" on device." UserInfo={NSUnderlyingError=0x7fdc69407660 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653158 "The device is passcode protected." UserInfo={MobileDeviceErrorCode=(0xE800001A), com.apple.dtdevicekit.stacktrace=( 
      0   DTDeviceKitBase                     0x000000012136d93f DTDKCreateNSErrorFromAMDErrorCode + 220
      1   DTDeviceKitBase                     0x000000012137db04 __63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]_block_invoke + 613
      2   DTDeviceKitBase                     0x000000012137d1d0 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_3 + 22
      3   DTDeviceKitBase                     0x000000012136fa9f __DTDKExecuteInSession_block_invoke_2 + 35
      4   DTDeviceKitBase                     0x000000012136f179 __DTDKExecuteWithConnection_block_invoke_2 + 218
      5   DTDeviceKitBase                     0x000000012136f076 __DTDKExecuteWithConnection_block_invoke + 106
      6   libdispatch.dylib                   0x00007fff72863658 _dispatch_client_callout + 8
      7   libdispatch.dylib                   0x00007fff7286fa38 _dispatch_sync_invoke_and_complete_recurse + 65
      8   libdispatch.dylib                   0x00007fff7286f5ab _dispatch_sync_f_slow + 195
      9   DVTFoundation                       0x000000010ff8fdef DVTDispatchBarrierSync + 208
      10  DVTFoundation                       0x000000010ff66f06 -[DVTDispatchLock performLockedBlock:] + 60
      11  DTDeviceKitBase                     0x000000012136ef77 DTDKExecuteWithConnection + 226
      12  DTDeviceKitBase                     0x000000012136f943 DTDKExecuteInSession + 239
      13  DTDeviceKitBase                     0x000000012137d022 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_2 + 131
      14  DVTFoundation                       0x000000010ff8d2aa __DVT_CALLING_CLIENT_BLOCK__ + 7
      15  DVTFoundation                       0x000000010ff8eecc __DVTDispatchAsync_block_invoke + 1191
      16  libdispatch.dylib                   0x00007fff728626c4 _dispatch_call_block_and_release + 12
      17  libdispatch.dylib                   0x00007fff72863658 _dispatch_client_callout + 8
      18  libdispatch.dylib                   0x00007fff72868c44 _dispatch_lane_serial_drain + 597
      19  libdispatch.dylib                   0x00007fff72869609 _dispatch_lane_invoke + 414
      20  libdispatch.dylib                   0x00007fff72872c09 _dispatch_workloop_worker_thread + 596
      21  libsystem_pthread.dylib             0x00007fff72abda3d _pthread_wqthread + 290
      22  libsystem_pthread.dylib             0x00007fff72abcb77 start_wqthread + 15
      ), DVTRadarComponentKey=261622, NSLocalizedDescription=The device is passcode protected.}}, NSLocalizedRecoverySuggestion=Please check your connection to your device., DVTRadarComponentKey=261622, NSLocalizedDescription=Failed to start remote service "com.apple.mobile.notification_proxy" on device.}
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/platforms/libqios_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/platforms/darwin/libqiosnsphotolibrarysupport_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/generic/libqtuiotouchplugin_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/iconengines/libqsvgicon_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/imageformats/libqgif_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/imageformats/libqico_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/imageformats/libqjpeg_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/plugins/imageformats/libqsvg_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/lib/libQt6Widgets_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/lib/libQt6Gui_debug.a'
      clang: error: no such file or directory: '/Users/qt/Qt6_beta1/6.0.0/ios/lib/libQt6Core_debug.a'
      

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes