Missing dSYM for PDFium.framework when archiving iOS (App Store submission)
Package Information
- Package:
pdfrx
- Version:
2.2.24
- Flutter:
Flutter 3.35.1 • channel stable
- Dart:
3.9.0
- DevTools:
2.48.0
- Platform: iOS (Release / Archive build)
- Build Method:
flutter build ipa and Xcode Archive
Description
When archiving the app for App Store submission, Xcode produces the following warning:
The archive did not include a dSYM for the PDFium.framework with the UUIDs [XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX].
Ensure that the archive's dSYM folder includes a DWARF file for PDFium.framework with the expected UUIDs.
The warning appears to originate from PDFium.framework bundled inside pdfrx.
Steps to Reproduce
- Add the dependency:
dependencies:
pdfrx: ^2.2.24
- Build iOS release archive:
or archive directly from Xcode.
- Validate or upload the archive to App Store Connect.
Expected Behavior
The generated .xcarchive should include:
dSYMs/PDFium.framework.dSYM
with a matching UUID for:
Products/Applications/<AppName>.app/Frameworks/PDFium.framework/PDFium
This ensures:
- No App Store validation warning
- Proper crash symbolication (e.g., Firebase Crashlytics, App Store Connect)
Actual Behavior
The .xcarchive does not contain a PDFium.framework.dSYM file matching the framework UUID.
As a result:
- App Store Connect shows a missing dSYM warning
- Crash symbolication for PDFium will not work properly
Additional Notes
- Debug builds work normally.
- The issue only appears during Release archive.
- Other Flutter plugins do not produce this warning.
- Verified that the UUID from
PDFium.framework does not have a matching dSYM in the archive.
Question
Is the PDFium.framework intentionally distributed without dSYM files?
If not, could the iOS binary be rebuilt with:
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
and include the corresponding .dSYM in the distributed framework?
Thank you 🙏
Missing dSYM for
PDFium.frameworkwhen archiving iOS (App Store submission)Package Information
pdfrx2.2.24Flutter 3.35.1 • channel stable3.9.02.48.0flutter build ipaand Xcode ArchiveDescription
When archiving the app for App Store submission, Xcode produces the following warning:
The warning appears to originate from
PDFium.frameworkbundled insidepdfrx.Steps to Reproduce
or archive directly from Xcode.
Expected Behavior
The generated
.xcarchiveshould include:with a matching UUID for:
This ensures:
Actual Behavior
The
.xcarchivedoes not contain aPDFium.framework.dSYMfile matching the framework UUID.As a result:
Additional Notes
PDFium.frameworkdoes not have a matching dSYM in the archive.Question
Is the
PDFium.frameworkintentionally distributed without dSYM files?If not, could the iOS binary be rebuilt with:
and include the corresponding
.dSYMin the distributed framework?Thank you 🙏