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
- Depend on
sqflite_tvos: ^0.0.2 in a flutter-tvos app.
- Archive a release build for App Store / TestFlight.
- 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
Summary
sqflite_tvos0.0.2 (and currentmain) shipstvos/Resources/PrivacyInfo.xcprivacy, buttvos/sqflite_tvos.podspecnever declares it as a resource. App Store Connect rejects archives that embedFrameworks/sqflite_tvos.frameworkwith 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
sqflite_tvos: ^0.0.2in a flutter-tvos app.Expected
PrivacyInfo.xcprivacyis 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:Suggested fix
Declare the privacy manifest in the podspec, e.g.:
Matching the pattern used by official Flutter Darwin plugins (privacy resource bundle).
Workaround
Vendoring
sqflite_tvoswith the podspec change above (path dependency) until a pub.dev release includes it.Related
sqflite_tvoson pub.devpackages/sqflite_tvos