aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2025-12-15 11:52:21 +0100
committerRuben Beltran del Rio <jj@r.bdr.sh>2025-12-16 22:42:52 +0100
commit86e296f3b194979de41715ddffe8af262c23c4ba (patch)
treec94d5f1c0b76be1224f8ac9b4dad791e3ef11d40
parentfa681bfcf5cbfcc711fb0ab10f3fd74ac83bf18c (diff)
Use recommended settings
-rw-r--r--Map.xcodeproj/project.pbxproj14
-rw-r--r--Map.xcodeproj/xcshareddata/xcschemes/Map.xcscheme2
-rw-r--r--Map.xcodeproj/xcshareddata/xcschemes/QuickLook.xcscheme4
-rw-r--r--Map/Map.entitlements6
-rw-r--r--Map/Presentation/Base Components/MapRender/MapGroups.swift1
-rw-r--r--QuickLook/QuickLook.entitlements4
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "1640"
+ LastUpgradeVersion = "2620"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/Map.xcodeproj/xcshareddata/xcschemes/QuickLook.xcscheme b/Map.xcodeproj/xcshareddata/xcschemes/QuickLook.xcscheme
index ad7bc16..2b00e6c 100644
--- a/Map.xcodeproj/xcshareddata/xcschemes/QuickLook.xcscheme
+++ b/Map.xcodeproj/xcshareddata/xcschemes/QuickLook.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "1640"
+ LastUpgradeVersion = "2620"
wasCreatedForAppExtension = "YES"
version = "2.0">
<BuildAction
@@ -60,7 +60,7 @@
<RemoteRunnable
runnableDebuggingMode = "0"
BundleIdentifier = "systems.tranquil.Map"
- RemotePath = "/Applications/Map.app">
+ RemotePath = "/Users/rbdr/Library/Developer/Xcode/DerivedData/Map-cpvhvjkcivyutbcisnbenfoowcyz/Build/Products/Debug/Map.app">
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
diff --git a/Map/Map.entitlements b/Map/Map.entitlements
index 91680ad..2c5f59f 100644
--- a/Map/Map.entitlements
+++ b/Map/Map.entitlements
@@ -2,16 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
- <key>com.apple.security.app-sandbox</key>
- <true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.systems.tranquil.Map</string>
</array>
- <key>com.apple.security.files.user-selected.read-write</key>
- <true/>
- <key>com.apple.security.network.client</key>
- <true/>
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spks</string>
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 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
- <key>com.apple.security.app-sandbox</key>
- <true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.systems.tranquil.Map</string>
</array>
- <key>com.apple.security.files.user-selected.read-only</key>
- <true/>
</dict>
</plist>