From 8a07265a88eecb4aef0ba03929a0e6de65e0951f Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 23 Sep 2024 13:12:31 -0400 Subject: [PATCH] Assert macOS framework artifact contains xcprivacy manifest (#155189) Add tool test to validate a built macOS app contains the FlutterMacOS framework xcprivacy manifest. Blocked on https://github.com/flutter/engine/pull/55078 rolling in. --- .../host_cross_arch.shard/macos_content_validation_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/test/host_cross_arch.shard/macos_content_validation_test.dart b/packages/flutter_tools/test/host_cross_arch.shard/macos_content_validation_test.dart index 2e8f8997bcb..2e6af4156e1 100644 --- a/packages/flutter_tools/test/host_cross_arch.shard/macos_content_validation_test.dart +++ b/packages/flutter_tools/test/host_cross_arch.shard/macos_content_validation_test.dart @@ -225,6 +225,7 @@ void main() { expect(outputFlutterFramework.childDirectory('Headers'), isNot(exists)); expect(outputFlutterFramework.childLink('Modules'), isNot(exists)); expect(outputFlutterFramework.childDirectory('Modules'), isNot(exists)); + expect(outputFlutterFramework.childFile('PrivacyInfo.xcprivacy'), exists); // Build again without cleaning. final ProcessResult secondBuild = processManager.runSync(buildCommand, workingDirectory: workingDirectory);