From 86e296f3b194979de41715ddffe8af262c23c4ba Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 15 Dec 2025 11:52:21 +0100 Subject: Use recommended settings --- Map.xcodeproj/project.pbxproj | 14 +++++++++++++- Map.xcodeproj/xcshareddata/xcschemes/Map.xcscheme | 2 +- Map.xcodeproj/xcshareddata/xcschemes/QuickLook.xcscheme | 4 ++-- Map/Map.entitlements | 6 ------ Map/Presentation/Base Components/MapRender/MapGroups.swift | 1 - QuickLook/QuickLook.entitlements | 4 ---- 6 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Map.xcodeproj/project.pbxproj b/Map.xcodeproj/project.pbxproj index f19865e..99dbbc7 100644 --- a/Map.xcodeproj/project.pbxproj +++ b/Map.xcodeproj/project.pbxproj @@ -368,7 +368,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1640; - LastUpgradeCheck = 1640; + LastUpgradeCheck = 2620; TargetAttributes = { B5282B012E210D4400C62006 = { CreatedOnToolsVersion = 16.4; @@ -503,7 +503,9 @@ CODE_SIGN_ENTITLEMENTS = QuickLook/QuickLook.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 70; + ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; + ENABLE_USER_SELECTED_FILES = readonly; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = QuickLook/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Map QuickLook"; @@ -531,7 +533,9 @@ CODE_SIGN_ENTITLEMENTS = QuickLook/QuickLook.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 70; + ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; + ENABLE_USER_SELECTED_FILES = readonly; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = QuickLook/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Map QuickLook"; @@ -612,6 +616,7 @@ MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; + STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -671,6 +676,7 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; + STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_EMIT_LOC_STRINGS = YES; }; @@ -688,8 +694,11 @@ CURRENT_PROJECT_VERSION = 70; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Map/Preview Content\""; + ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; + ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES; ENABLE_PREVIEWS = YES; + ENABLE_USER_SELECTED_FILES = readwrite; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = Map/Info.plist; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity"; @@ -721,8 +730,11 @@ CURRENT_PROJECT_VERSION = 70; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Map/Preview Content\""; + ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; + ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES; ENABLE_PREVIEWS = YES; + ENABLE_USER_SELECTED_FILES = readwrite; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = Map/Info.plist; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity"; diff --git a/Map.xcodeproj/xcshareddata/xcschemes/Map.xcscheme b/Map.xcodeproj/xcshareddata/xcschemes/Map.xcscheme index dba25dc..50f0346 100644 --- a/Map.xcodeproj/xcshareddata/xcschemes/Map.xcscheme +++ b/Map.xcodeproj/xcshareddata/xcschemes/Map.xcscheme @@ -1,6 +1,6 @@ + RemotePath = "/Users/rbdr/Library/Developer/Xcode/DerivedData/Map-cpvhvjkcivyutbcisnbenfoowcyz/Build/Products/Debug/Map.app"> - com.apple.security.app-sandbox - com.apple.security.application-groups group.systems.tranquil.Map - com.apple.security.files.user-selected.read-write - - com.apple.security.network.client - com.apple.security.temporary-exception.mach-lookup.global-name $(PRODUCT_BUNDLE_IDENTIFIER)-spks diff --git a/Map/Presentation/Base Components/MapRender/MapGroups.swift b/Map/Presentation/Base Components/MapRender/MapGroups.swift index 8676f1a..bee94b9 100644 --- a/Map/Presentation/Base Components/MapRender/MapGroups.swift +++ b/Map/Presentation/Base Components/MapRender/MapGroups.swift @@ -12,7 +12,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see https://map.tranquil.systems. -import ConcaveHull import SwiftUI struct MapGroups: View { diff --git a/QuickLook/QuickLook.entitlements b/QuickLook/QuickLook.entitlements index 8998767..c3d8fe7 100644 --- a/QuickLook/QuickLook.entitlements +++ b/QuickLook/QuickLook.entitlements @@ -2,13 +2,9 @@ - com.apple.security.app-sandbox - com.apple.security.application-groups group.systems.tranquil.Map - com.apple.security.files.user-selected.read-only - -- cgit