Assert iOS framework artifact contains xcprivacy manifest (#155187)

Add tool test to validate a built iOS app contains the Flutter framework xcprivacy manifest.

Follow up to https://github.com/flutter/engine/pull/48951.
This commit is contained in:
Jenn Magder 2024-09-16 06:13:30 -07:00 committed by GitHub
parent cfdab3cdc8
commit 0a400f8cd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,6 +159,8 @@ void main() {
// Plugin is a dynamic xor static framework.
expect(helloDynamic != helloStatic, isTrue);
expect(outputFlutterFramework.childFile('PrivacyInfo.xcprivacy'), exists);
expect(outputAppFrameworkBinary, exists);
expect(outputAppFramework.childFile('Info.plist'), exists);