From 7be2b43c355453f11a5ec8df8a8e4ae5fb0a1bcf Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 29 Oct 2024 17:06:24 +0800 Subject: [PATCH] chore: remove sandbox from macos quickstart project --- .../quickstart/macos/Runner.xcodeproj/project.pbxproj | 4 +++- .../quickstart/macos/Runner/RunnerDebug.entitlements | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 examples/flutter/quickstart/macos/Runner/RunnerDebug.entitlements diff --git a/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj b/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj index a3932134..b304615c 100644 --- a/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj +++ b/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj @@ -87,6 +87,7 @@ 93162ABED09E78126BD3CDE5 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 9491FF37DFB0425E4EA0B397 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; + DB0270912CD09BDD00E05CE4 /* RunnerDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = RunnerDebug.entitlements; sourceTree = ""; }; E5EDF04F05E94A7EC21CBB16 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -188,6 +189,7 @@ 33FAB671232836740065AC1E /* Runner */ = { isa = PBXGroup; children = ( + DB0270912CD09BDD00E05CE4 /* RunnerDebug.entitlements */, 33CC10F02044A3C60003C045 /* AppDelegate.swift */, 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, 33E51913231747F40026EE4D /* DebugProfile.entitlements */, @@ -703,7 +705,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_ENTITLEMENTS = Runner/RunnerDebug.entitlements; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = Runner/Info.plist; diff --git a/examples/flutter/quickstart/macos/Runner/RunnerDebug.entitlements b/examples/flutter/quickstart/macos/Runner/RunnerDebug.entitlements new file mode 100644 index 00000000..d35e43ae --- /dev/null +++ b/examples/flutter/quickstart/macos/Runner/RunnerDebug.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.cs.allow-jit + + +