Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Build the app's Debug code into its own executable
Țugui Dragoș5592801138d8
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.mdindex cb1ab1fa..6e30c2ff 100644--- a/ARCHITECTURE.md+++ b/ARCHITECTURE.md@@ -446,3 +446,9 @@ be built for an older macOS with its class data unsigned, and the linker would twhole `peel` tool unsigned. `release.sh` and the Checks workflow pass both, and Xcode's own Archive, which cannot,fails. A Debug build leaves pointer authentication off, since it builds only the Mac's own architecture, which theprograms would read as arm64e and the packages as arm64.++A Debug build keeps the app's code in its own executable (`ENABLE_DEBUG_DYLIB` off for the app's target). With+Xcode's default the code goes into a `Peel.debug.dylib` that a stub executable loads, and the App Intents step, which+reads the executable, finds no App Intents there: the Debug app then has no Shortcuts actions, and the App Shortcuts+phrases `Scripts/sync_localizations.py` checks the catalogs against are missing. The dylib serves Xcode's SwiftUI+previews, and Peel has none.diff --git a/Peel.xcodeproj/project.pbxproj b/Peel.xcodeproj/project.pbxprojindex 59009d27..dba46437 100644--- a/Peel.xcodeproj/project.pbxproj+++ b/Peel.xcodeproj/project.pbxproj@@ -868,6 +868,7 @@CURRENT_PROJECT_VERSION = 261013;DEVELOPMENT_TEAM = 6R6J264YA2;ENABLE_APP_SANDBOX = NO;+ ENABLE_DEBUG_DYLIB = NO;ENABLE_HARDENED_RUNTIME = YES;ENABLE_PREVIEWS = YES;FRAMEWORK_SEARCH_PATHS = (