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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.4
    • Fix Version/s: 5.15.8
    • Component/s: PDF
    • Environment:
      XCode 11 & 12
    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      a49e0b2caafd8aaa09fb586674909b7db462231e (qt/qtwebengine/5.15)

      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

            Assignee:
            michal Michal Klocek
            Reporter:
            nagrohn Nahomi Gröhn
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes