From ce8dbacc3c2de8e45d138dbc61ae87d9be1690ac Mon Sep 17 00:00:00 2001 From: Dominic Go <18517029+dominicstop@users.noreply.github.com> Date: Sat, 27 Nov 2021 09:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20Example=20-=20iOS=20Project:=20E?= =?UTF-8?q?nable=20`mac-catalyst`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update IosContextMenuExample.xcscheme --- .../project.pbxproj | 21 +++++++++++++++++++ .../xcschemes/IosContextMenuExample.xcscheme | 2 +- .../IosContextMenuExample.entitlements | 14 +++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 example/ios/IosContextMenuExample/IosContextMenuExample.entitlements diff --git a/example/ios/IosContextMenuExample.xcodeproj/project.pbxproj b/example/ios/IosContextMenuExample.xcodeproj/project.pbxproj index c2341e7..61f911c 100644 --- a/example/ios/IosContextMenuExample.xcodeproj/project.pbxproj +++ b/example/ios/IosContextMenuExample.xcodeproj/project.pbxproj @@ -52,6 +52,7 @@ 2D02E4901E0B4A5D006451C7 /* IosContextMenuExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "IosContextMenuExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 47F7ED3B7971BE374F7B8635 /* Pods-IosContextMenuExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IosContextMenuExample.debug.xcconfig"; path = "Target Support Files/Pods-IosContextMenuExample/Pods-IosContextMenuExample.debug.xcconfig"; sourceTree = ""; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = IosContextMenuExample/LaunchScreen.storyboard; sourceTree = ""; }; + 88B469022751AFC700A4FF45 /* IosContextMenuExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = IosContextMenuExample.entitlements; path = IosContextMenuExample/IosContextMenuExample.entitlements; sourceTree = ""; }; 88DAC66C273DBC1200AB068F /* IosContextMenuExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "IosContextMenuExample-Bridging-Header.h"; sourceTree = ""; }; 88DAC66D273DBC1200AB068F /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = ""; }; CA3E69C5B9553B26FBA2DF04 /* libPods-IosContextMenuExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-IosContextMenuExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -113,6 +114,7 @@ 13B07FAE1A68108700A75B9A /* IosContextMenuExample */ = { isa = PBXGroup; children = ( + 88B469022751AFC700A4FF45 /* IosContextMenuExample.entitlements */, 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.m */, @@ -272,6 +274,7 @@ 13B07F861A680F5B00A75B9A = { DevelopmentTeam = ZC7A6XV8GR; LastSwiftMigration = 1310; + ProvisioningStyle = Automatic; }; 2D02E47A1E0B4A5D006451C7 = { CreatedOnToolsVersion = 8.2.1; @@ -549,10 +552,15 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = IosContextMenuExample/IosContextMenuExample.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ZC7A6XV8GR; ENABLE_BITCODE = NO; INFOPLIST_FILE = IosContextMenuExample/Info.plist; + "IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*]" = 14.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", @@ -561,9 +569,13 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativeioscontextmenu; PRODUCT_NAME = IosContextMenuExample; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; + SUPPORTS_MACCATALYST = YES; SWIFT_OBJC_BRIDGING_HEADER = "IosContextMenuExample-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,6"; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -574,9 +586,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = IosContextMenuExample/IosContextMenuExample.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ZC7A6XV8GR; INFOPLIST_FILE = IosContextMenuExample/Info.plist; + "IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*]" = 14.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", @@ -585,8 +602,12 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativeioscontextmenu; PRODUCT_NAME = IosContextMenuExample; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; + SUPPORTS_MACCATALYST = YES; SWIFT_OBJC_BRIDGING_HEADER = "IosContextMenuExample-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,6"; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/example/ios/IosContextMenuExample.xcodeproj/xcshareddata/xcschemes/IosContextMenuExample.xcscheme b/example/ios/IosContextMenuExample.xcodeproj/xcshareddata/xcschemes/IosContextMenuExample.xcscheme index faf8097..11116d1 100644 --- a/example/ios/IosContextMenuExample.xcodeproj/xcshareddata/xcschemes/IosContextMenuExample.xcscheme +++ b/example/ios/IosContextMenuExample.xcodeproj/xcshareddata/xcschemes/IosContextMenuExample.xcscheme @@ -54,7 +54,7 @@ + + + + com.apple.security.app-sandbox + + com.apple.security.network.client + + com.apple.security.network.server + + com.apple.security.personal-information.location + + +