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
Name the destination of every xcodebuild build
Țugui Dragoș99a4d3d3f3c5
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.ymlindex 38d30586..9f285b40 100644--- a/.github/workflows/checks.yml+++ b/.github/workflows/checks.yml@@ -59,7 +59,8 @@ jobs:- name: Build the apprun: |xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Debug \- -derivedDataPath build/DerivedData CODE_SIGNING_ALLOWED=NO build+ -destination "platform=macOS,arch=$(uname -m)" -derivedDataPath build/DerivedData \+ CODE_SIGNING_ALLOWED=NO build# Release builds every binary for Apple silicon, with pointer authentication (arm64e) and without, and for Intel,# with the optimizer a Debug build leaves off. The settings are given here too, since only the command line@@ -68,8 +69,8 @@ jobs:- name: Build the app for releaserun: |xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Release \- -derivedDataPath build/Release CODE_SIGNING_ALLOWED=NO ENABLE_POINTER_AUTHENTICATION=YES \- MACOSX_DEPLOYMENT_TARGET=26.0 build+ -destination 'generic/platform=macOS' -derivedDataPath build/Release CODE_SIGNING_ALLOWED=NO \+ ENABLE_POINTER_AUTHENTICATION=YES MACOSX_DEPLOYMENT_TARGET=26.0 buildapp=build/Release/Build/Products/Release/Peel.app# Every program and library in the app, found rather than listed, so one added later is checked too.checked=0@@ -98,7 +99,8 @@ jobs:- name: Build the accessibility auditrun: |xcodebuild -project Peel.xcodeproj -scheme PeelUITests -configuration Debug \- -derivedDataPath build/DerivedData CODE_SIGNING_ALLOWED=NO build-for-testing+ -destination "platform=macOS,arch=$(uname -m)" -derivedDataPath build/DerivedData \+ CODE_SIGNING_ALLOWED=NO build-for-testing# The string catalogs are synced by running `Scripts/sync_localizations.py` by hand. This step fails when a# catalog is out of date. It reads the strings from the Debug build above, in `build/DerivedData`.diff --git a/AGENTS.md b/AGENTS.mdindex 32483763..e5203c1e 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -217,8 +217,8 @@ If you are unsure whether something belongs in the helper, it doesn't.accessibility audit on every page, in light and dark, moving the pointer, typing, and quitting a Peel that is open,so it runs on a Mac nobody is using; macOS asks once for Accessibility for the test runner, and for anadministrator's password each time Automation Mode turns on:- `xcodebuild test -project Peel.xcodeproj -scheme PeelUITests -derivedDataPath build/DerivedData- DEVELOPMENT_TEAM=YOUR_TEAM_ID`.+ `xcodebuild test -project Peel.xcodeproj -scheme PeelUITests -destination "platform=macOS,arch=$(uname -m)"+ -derivedDataPath build/DerivedData DEVELOPMENT_TEAM=YOUR_TEAM_ID`.- For work on Peel itself: `PEEL_SNAPSHOT=<folder>`, in a Debug build, renders Home, About, and the menu bar panelto PNG files in that folder, made if it isn't there, in light and dark, each also with Increase Contrast, thenquits; `PEEL_TERMINAL_EXPORT=<repository>/Terminal`, in a Debug build, writes the themes and pictures `Terminal/`diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex edce3f8d..722b5676 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -28,8 +28,8 @@ before the fix is written, and the result is checked where it shows, as [AGENTS.```bashzsh Scripts/build_sparkle.sh-xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Debug -derivedDataPath build/DerivedData \- DEVELOPMENT_TEAM=YOUR_TEAM_ID build+xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Debug -destination "platform=macOS,arch=$(uname -m)" \+ -derivedDataPath build/DerivedData DEVELOPMENT_TEAM=YOUR_TEAM_ID build``````bash@@ -50,10 +50,12 @@ the command line reaches the Swift packages (`Scripts/release.sh` passes both),on optimized code:```bash-xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Release -derivedDataPath build/ReleaseCheck \- CODE_SIGNING_ALLOWED=NO ENABLE_POINTER_AUTHENTICATION=YES MACOSX_DEPLOYMENT_TARGET=26.0 build-xcodebuild -project Peel.xcodeproj -scheme PeelUITests -configuration Debug -derivedDataPath build/DerivedData \- DEVELOPMENT_TEAM=YOUR_TEAM_ID build-for-testing+xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Release -destination 'generic/platform=macOS' \+ -derivedDataPath build/ReleaseCheck CODE_SIGNING_ALLOWED=NO ENABLE_POINTER_AUTHENTICATION=YES \+ MACOSX_DEPLOYMENT_TARGET=26.0 build+xcodebuild -project Peel.xcodeproj -scheme PeelUITests -configuration Debug \+ -destination "platform=macOS,arch=$(uname -m)" -derivedDataPath build/DerivedData DEVELOPMENT_TEAM=YOUR_TEAM_ID \+ build-for-testingpython3 Scripts/sync_localizations.py --checkpython3 Scripts/generate_manual.py --check```diff --git a/README.md b/README.mdindex aac1081f..ace8acc8 100644--- a/README.md+++ b/README.md@@ -222,8 +222,8 @@ with your own team ID:```bashzsh Scripts/build_sparkle.sh-xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Debug -derivedDataPath build/DerivedData \- DEVELOPMENT_TEAM=YOUR_TEAM_ID build+xcodebuild -project Peel.xcodeproj -scheme Peel -configuration Debug -destination "platform=macOS,arch=$(uname -m)" \+ -derivedDataPath build/DerivedData DEVELOPMENT_TEAM=YOUR_TEAM_ID buildswift test --package-path Packages/PeelCore -Xswiftc -warnings-as-errors```diff --git a/Scripts/build_sparkle.sh b/Scripts/build_sparkle.shindex bc7e42e2..fbcbbda4 100644--- a/Scripts/build_sparkle.sh+++ b/Scripts/build_sparkle.sh@@ -24,7 +24,7 @@ fifor scheme in Sparkle generate_keys sign_update generate_appcast; doif ! xcodebuild -project "$source/Sparkle.xcodeproj" -scheme "$scheme" -configuration Release \- -derivedDataPath build/SparkleBuild ENABLE_POINTER_AUTHENTICATION=YES \+ -destination 'generic/platform=macOS' -derivedDataPath build/SparkleBuild ENABLE_POINTER_AUTHENTICATION=YES \SPARKLE_EMBED_INSTALLER_LAUNCHER_XPC_SERVICE=0 SPARKLE_EMBED_DOWNLOADER_XPC_SERVICE=0 \build > build/SparkleBuild.log 2>&1; thentail -20 build/SparkleBuild.logdiff --git a/Scripts/release.sh b/Scripts/release.shindex f51fde02..dde867f8 100755--- a/Scripts/release.sh+++ b/Scripts/release.sh@@ -58,6 +58,7 @@ if ! xcodebuild archive \-project Peel.xcodeproj \-scheme Peel \-configuration Release \+ -destination 'generic/platform=macOS' \-archivePath "$archive" \-derivedDataPath "$build/DerivedData" \ENABLE_POINTER_AUTHENTICATION=YES \