From 4841b26c129361b09d868f32a3bdc222e75398ff Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Wed, 18 Dec 2024 08:01:05 -0800 Subject: [PATCH] [ci] Re-enable macOS sandboxing (#8293) Revert "Disable sandboxing directly for macOS tests (#6880)", commit 4a178f1ad9004e61fc58e5e8b704cee20e0b45d2, now that the `flutter`-level changes have reached `stable`. Fixes https://github.com/flutter/flutter/issues/149844 --- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../flutter_image/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../google_sign_in/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../image_picker/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../in_app_purchase/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../path_provider/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../url_launcher/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../video_player/example/macos/Runner/Release.entitlements | 3 +-- .../example/macos/Runner/DebugProfile.entitlements | 3 +-- .../example/macos/Runner/Release.entitlements | 3 +-- 30 files changed, 30 insertions(+), 60 deletions(-) diff --git a/packages/flutter_image/example/macos/Runner/DebugProfile.entitlements b/packages/flutter_image/example/macos/Runner/DebugProfile.entitlements index d8e18ed9e74d..08c3ab17cc26 100644 --- a/packages/flutter_image/example/macos/Runner/DebugProfile.entitlements +++ b/packages/flutter_image/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/flutter_image/example/macos/Runner/Release.entitlements b/packages/flutter_image/example/macos/Runner/Release.entitlements index 51d323ec35ad..3618034fd14e 100644 --- a/packages/flutter_image/example/macos/Runner/Release.entitlements +++ b/packages/flutter_image/example/macos/Runner/Release.entitlements @@ -5,7 +5,6 @@ com.apple.security.network.client com.apple.security.app-sandbox - - + diff --git a/packages/google_sign_in/google_sign_in/example/macos/Runner/DebugProfile.entitlements b/packages/google_sign_in/google_sign_in/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/google_sign_in/google_sign_in/example/macos/Runner/DebugProfile.entitlements +++ b/packages/google_sign_in/google_sign_in/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/google_sign_in/google_sign_in/example/macos/Runner/Release.entitlements b/packages/google_sign_in/google_sign_in/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/google_sign_in/google_sign_in/example/macos/Runner/Release.entitlements +++ b/packages/google_sign_in/google_sign_in/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/DebugProfile.entitlements b/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/DebugProfile.entitlements +++ b/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Release.entitlements b/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Release.entitlements +++ b/packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/image_picker/image_picker/example/macos/Runner/DebugProfile.entitlements b/packages/image_picker/image_picker/example/macos/Runner/DebugProfile.entitlements index 04c9acf4af85..0ceee8dff196 100644 --- a/packages/image_picker/image_picker/example/macos/Runner/DebugProfile.entitlements +++ b/packages/image_picker/image_picker/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/image_picker/image_picker/example/macos/Runner/Release.entitlements b/packages/image_picker/image_picker/example/macos/Runner/Release.entitlements index afa43e9be4f6..18aff0ce43c2 100644 --- a/packages/image_picker/image_picker/example/macos/Runner/Release.entitlements +++ b/packages/image_picker/image_picker/example/macos/Runner/Release.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.files.user-selected.read-only diff --git a/packages/in_app_purchase/in_app_purchase/example/macos/Runner/DebugProfile.entitlements b/packages/in_app_purchase/in_app_purchase/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/in_app_purchase/in_app_purchase/example/macos/Runner/DebugProfile.entitlements +++ b/packages/in_app_purchase/in_app_purchase/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/in_app_purchase/in_app_purchase/example/macos/Runner/Release.entitlements b/packages/in_app_purchase/in_app_purchase/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/in_app_purchase/in_app_purchase/example/macos/Runner/Release.entitlements +++ b/packages/in_app_purchase/in_app_purchase/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/DebugProfile.entitlements b/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/DebugProfile.entitlements index 25a95d1ac5ca..dddb8a30c851 100644 --- a/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/DebugProfile.entitlements +++ b/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - < - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Release.entitlements b/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Release.entitlements +++ b/packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements b/packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements index 727d49f3df82..f83e1f42d120 100644 --- a/packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements +++ b/packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/path_provider/path_provider/example/macos/Runner/Release.entitlements b/packages/path_provider/path_provider/example/macos/Runner/Release.entitlements index 8528f1145fe5..9d379927fbcb 100644 --- a/packages/path_provider/path_provider/example/macos/Runner/Release.entitlements +++ b/packages/path_provider/path_provider/example/macos/Runner/Release.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.files.downloads.read-write diff --git a/packages/path_provider/path_provider_foundation/example/macos/Runner/DebugProfile.entitlements b/packages/path_provider/path_provider_foundation/example/macos/Runner/DebugProfile.entitlements index f1461605a918..8139952b3e55 100644 --- a/packages/path_provider/path_provider_foundation/example/macos/Runner/DebugProfile.entitlements +++ b/packages/path_provider/path_provider_foundation/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/path_provider/path_provider_foundation/example/macos/Runner/Release.entitlements b/packages/path_provider/path_provider_foundation/example/macos/Runner/Release.entitlements index bff50d8839cc..2f9659c917fb 100644 --- a/packages/path_provider/path_provider_foundation/example/macos/Runner/Release.entitlements +++ b/packages/path_provider/path_provider_foundation/example/macos/Runner/Release.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.files.downloads.read-write diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/DebugProfile.entitlements b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/DebugProfile.entitlements +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Release.entitlements b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Release.entitlements +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/shared_preferences/shared_preferences/example/macos/Runner/DebugProfile.entitlements b/packages/shared_preferences/shared_preferences/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/shared_preferences/shared_preferences/example/macos/Runner/DebugProfile.entitlements +++ b/packages/shared_preferences/shared_preferences/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/shared_preferences/shared_preferences/example/macos/Runner/Release.entitlements b/packages/shared_preferences/shared_preferences/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/shared_preferences/shared_preferences/example/macos/Runner/Release.entitlements +++ b/packages/shared_preferences/shared_preferences/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/DebugProfile.entitlements b/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/DebugProfile.entitlements +++ b/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Release.entitlements b/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Release.entitlements +++ b/packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/url_launcher/url_launcher/example/macos/Runner/DebugProfile.entitlements b/packages/url_launcher/url_launcher/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/url_launcher/url_launcher/example/macos/Runner/DebugProfile.entitlements +++ b/packages/url_launcher/url_launcher/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/url_launcher/url_launcher/example/macos/Runner/Release.entitlements b/packages/url_launcher/url_launcher/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/url_launcher/url_launcher/example/macos/Runner/Release.entitlements +++ b/packages/url_launcher/url_launcher/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/url_launcher/url_launcher_macos/example/macos/Runner/DebugProfile.entitlements b/packages/url_launcher/url_launcher_macos/example/macos/Runner/DebugProfile.entitlements index e635cd9a4bf4..dddb8a30c851 100644 --- a/packages/url_launcher/url_launcher_macos/example/macos/Runner/DebugProfile.entitlements +++ b/packages/url_launcher/url_launcher_macos/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.server diff --git a/packages/url_launcher/url_launcher_macos/example/macos/Runner/Release.entitlements b/packages/url_launcher/url_launcher_macos/example/macos/Runner/Release.entitlements index 0218c441b4e3..852fa1a4728a 100644 --- a/packages/url_launcher/url_launcher_macos/example/macos/Runner/Release.entitlements +++ b/packages/url_launcher/url_launcher_macos/example/macos/Runner/Release.entitlements @@ -3,7 +3,6 @@ com.apple.security.app-sandbox - - + diff --git a/packages/video_player/video_player/example/macos/Runner/DebugProfile.entitlements b/packages/video_player/video_player/example/macos/Runner/DebugProfile.entitlements index c8f2dc5c7362..3ba6c1266f21 100644 --- a/packages/video_player/video_player/example/macos/Runner/DebugProfile.entitlements +++ b/packages/video_player/video_player/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.client diff --git a/packages/video_player/video_player/example/macos/Runner/Release.entitlements b/packages/video_player/video_player/example/macos/Runner/Release.entitlements index 5fe13922aa58..ee95ab7e582d 100644 --- a/packages/video_player/video_player/example/macos/Runner/Release.entitlements +++ b/packages/video_player/video_player/example/macos/Runner/Release.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.network.client diff --git a/packages/video_player/video_player_avfoundation/example/macos/Runner/DebugProfile.entitlements b/packages/video_player/video_player_avfoundation/example/macos/Runner/DebugProfile.entitlements index c8f2dc5c7362..3ba6c1266f21 100644 --- a/packages/video_player/video_player_avfoundation/example/macos/Runner/DebugProfile.entitlements +++ b/packages/video_player/video_player_avfoundation/example/macos/Runner/DebugProfile.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.cs.allow-jit com.apple.security.network.client diff --git a/packages/video_player/video_player_avfoundation/example/macos/Runner/Release.entitlements b/packages/video_player/video_player_avfoundation/example/macos/Runner/Release.entitlements index 5fe13922aa58..ee95ab7e582d 100644 --- a/packages/video_player/video_player_avfoundation/example/macos/Runner/Release.entitlements +++ b/packages/video_player/video_player_avfoundation/example/macos/Runner/Release.entitlements @@ -3,8 +3,7 @@ com.apple.security.app-sandbox - - + com.apple.security.network.client