Skip to content

Commit 8a07265

Browse files
authored
Assert macOS framework artifact contains xcprivacy manifest (flutter#155189)
Add tool test to validate a built macOS app contains the FlutterMacOS framework xcprivacy manifest. Blocked on flutter/engine#55078 rolling in.
1 parent 4d6d9f3 commit 8a07265

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/flutter_tools/test/host_cross_arch.shard/macos_content_validation_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ void main() {
225225
expect(outputFlutterFramework.childDirectory('Headers'), isNot(exists));
226226
expect(outputFlutterFramework.childLink('Modules'), isNot(exists));
227227
expect(outputFlutterFramework.childDirectory('Modules'), isNot(exists));
228+
expect(outputFlutterFramework.childFile('PrivacyInfo.xcprivacy'), exists);
228229

229230
// Build again without cleaning.
230231
final ProcessResult secondBuild = processManager.runSync(buildCommand, workingDirectory: workingDirectory);

0 commit comments

Comments
 (0)