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

[QtPDF] bitcode bundle could not be generated because libQt5Pdf.a was built without full bitcode

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • a49e0b2caafd8aaa09fb586674909b7db462231e (qt/qtwebengine/5.15) 68db00bcbe (qt/qtwebengine/dev) 770a425c16 (qt/qtwebengine/6.3) 770a425c16 (qt/qtwebengine/6.3.0)

    Description

      libQt5Pdf.a does not seem to be built with bitcode enabled.
      The following message appears and fails to create archive of an app.

      ld: bitcode bundle could not be generated because '/Users/Qt/5.15.4/ios/lib/libQt5Pdf.a(fpdf_dataavail.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      How to reproduce
      1. Use /Qt/Examples/pdf/pdfviewer and create .xcodeproj.
      2. Open .xcodeproj in XCode
      3. Set Product -> Archive

      Archiving fails and the message is shown.

      Attachments

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

        Activity

          People

            michal Michal Klocek
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes