From 0a400f8cd8795e16aaac90d691550909a8cc5100 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 16 Sep 2024 06:13:30 -0700 Subject: [PATCH] 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. --- .../test/host_cross_arch.shard/ios_content_validation_test.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flutter_tools/test/host_cross_arch.shard/ios_content_validation_test.dart b/packages/flutter_tools/test/host_cross_arch.shard/ios_content_validation_test.dart index f2eeb885bb..6c4ec07b16 100644 --- a/packages/flutter_tools/test/host_cross_arch.shard/ios_content_validation_test.dart +++ b/packages/flutter_tools/test/host_cross_arch.shard/ios_content_validation_test.dart @@ -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);