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: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.4
    • Fix Version/s: None
    • Component/s: PDF
    • Environment:
      XCode 11 & 12
    • Platform/s:
      iOS/tvOS/watchOS

      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

        For Gerrit Dashboard: QTBUG-94368
        # Subject Branch Project Status CR V

          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:

                Gerrit Reviews

                There is 1 open Gerrit change