Skip to content

sqflite_tvos: PrivacyInfo.xcprivacy not embedded (ITMS-91061) #24

Description

@NeighborhoodNerd

Summary

sqflite_tvos 0.0.2 (and current main) ships tvos/Resources/PrivacyInfo.xcprivacy, but tvos/sqflite_tvos.podspec never declares it as a resource. App Store Connect rejects archives that embed Frameworks/sqflite_tvos.framework with ITMS-91061 (missing privacy manifest).

sqflite is on Apple’s required reason / third-party SDK list, so a privacy manifest must land inside the embedded framework.

Repro

  1. Depend on sqflite_tvos: ^0.0.2 in a flutter-tvos app.
  2. Archive a release build for App Store / TestFlight.
  3. Upload via Xcode Organizer / Transporter.

Expected

PrivacyInfo.xcprivacy is present at something like:

Payload/<App>.app/Frameworks/sqflite_tvos.framework/PrivacyInfo.xcprivacy

(and/or via a privacy resource bundle, consistent with other Flutter Apple plugins).

Actual

The file exists in the package source tree (tvos/Resources/PrivacyInfo.xcprivacy) but is not copied into the built framework because the podspec only lists source files:

s.source_files = 'Classes/**/*.{h,m,mm,swift}'
# no s.resource_bundles / s.resources for PrivacyInfo.xcprivacy

Suggested fix

Declare the privacy manifest in the podspec, e.g.:

s.resource_bundles = {
  'sqflite_tvos_privacy' => ['Resources/PrivacyInfo.xcprivacy']
}
# Optionally also:
# s.resources = ['Resources/PrivacyInfo.xcprivacy']

Matching the pattern used by official Flutter Darwin plugins (privacy resource bundle).

Workaround

Vendoring sqflite_tvos with the podspec change above (path dependency) until a pub.dev release includes it.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions