Skip to content

Missing dSYM for PDFium.framework when archiving iOS (App Store submission) #608

@alhudaghifari

Description

@alhudaghifari

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

  1. Add the dependency:
dependencies:
  pdfrx: ^2.2.24
  1. Build iOS release archive:
flutter build ipa

or archive directly from Xcode.

  1. 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 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions