Skip to content

Commit 4a178f1

Browse files
authored
Disable sandboxing directly for macOS tests (flutter#6880)
macOS 14 requires sandboxing to be disabled in CI (see flutter#149618 for details). This is handled via the tool in flutter#149618, but that commit has yet to land in stable. To allow packages stable tests to run on macOS 14, disable sandboxing directly for macOS example apps. Verified tests pass on macOS 14: https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20macos_platform_tests%20stable%20-%20packages/6/infra https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20custom_package_tests%20stable/3/overview
1 parent 2e928d7 commit 4a178f1

File tree

30 files changed

+60
-30
lines changed

30 files changed

+60
-30
lines changed

packages/flutter_image/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/flutter_image/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<key>com.apple.security.network.client</key>
66
<true/>
77
<key>com.apple.security.app-sandbox</key>
8-
<true/>
8+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
9+
<false/>
910
</dict>
1011
</plist>

packages/google_sign_in/google_sign_in/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/google_sign_in/google_sign_in/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/google_sign_in/google_sign_in_ios/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/google_sign_in/google_sign_in_ios/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/image_picker/image_picker/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/image_picker/image_picker/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.files.user-selected.read-only</key>
89
<true/>
910
</dict>

packages/in_app_purchase/in_app_purchase/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/in_app_purchase/in_app_purchase/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/in_app_purchase/in_app_purchase_storekit/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/path_provider/path_provider/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/path_provider/path_provider/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.files.downloads.read-write</key>
89
<true/>
910
</dict>

packages/path_provider/path_provider_foundation/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/path_provider/path_provider_foundation/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.files.downloads.read-write</key>
89
<true/>
910
</dict>

packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/pigeon/platform_tests/alternate_language_test_plugin/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/shared_preferences/shared_preferences/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/shared_preferences/shared_preferences/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/shared_preferences/shared_preferences_foundation/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/url_launcher/url_launcher/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/url_launcher/url_launcher/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/url_launcher/url_launcher_macos/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.server</key>

packages/url_launcher/url_launcher_macos/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
</dict>
89
</plist>

packages/video_player/video_player/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.client</key>

packages/video_player/video_player/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.network.client</key>
89
<true/>
910
</dict>

packages/video_player/video_player_avfoundation/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.cs.allow-jit</key>
89
<true/>
910
<key>com.apple.security.network.client</key>

packages/video_player/video_player_avfoundation/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<!-- TODO(vashworth): Re-enable sandboxing once https://github.com/flutter/flutter/pull/149618 lands in stable and stable version is updated. -->
7+
<false/>
78
<key>com.apple.security.network.client</key>
89
<true/>
910
</dict>

0 commit comments

Comments
 (0)