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

Archiving the application does not have debug info files (dSYM) included as expected

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 7ccf30ae4 (dev), ff1ba4f1c (dev), 2347afc41 (6.8), 9f1ced55c (6.8), 071a29f55 (6.7), 84785289f (6.7), afad297bb (dev), 0193b0207 (6.8), 6739b2919 (6.7)

    Description

      There is no dSYM symbols in the archive for the application I build with Qt6.7.2 for iOS (or simulator), cmake 3.29.3 that comes with Qt installation. Qt is prebuilt from online installer.

      So what I did:
      1. Create a QtQuick app using QtC template. So it is just a trivial Window to rule out any other Qt framework issues.
      2. Set generator as Xcode and build in release mode (as requested by https://doc.qt.io/qt-6/ios-platform-notes.html#product-archiving-issue-with-cmake). Then in build folder I have a .xcodeproj to be opened in Xcode
      3. Open project in Xcode, and in building settings:

      Debug information format for all build modes are DWARF with dSYM file
      Stripe debug symbols during copy for all build modes are No
      Generate debug symbols for all build modes are Yes
      

      4. Product -> Archive the project

      But somehow, I still don't have any dSYM files inside archive:

      A directory for storing dSYM files, yes. But really nothing in there.

      Attachments

        1. CodeGeneration.png
          125 kB
          Adaita Behera
        2. image-2024-07-04-10-19-51-274.png
          459 kB
          Luqiao Chen

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              luqiaochen Luqiao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: