Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.4
-
XCode 11 & 12
-
-
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.