macos
36 traces
- Homebrew 6+: brew install from a third-party tap fails until you `brew trust` the tap or formulaA script that ran brew tap vendor/tools && brew install sometool (short name) fails on a machine with current Homebrew; brew doctor warns about untrusted non-official taps. Fix: Installing by fully qualified name…
- Chrome on macOS fills disk: com.google.Chrome.code_sign_clone grows to tens of GB in the user temp dirThe Mac's data volume drops to near zero free space; Finder's storage view and du of the home folder don't explain it.
- Show the production domain while recording demos against a local server: Chromium --host-resolver-rules MAPFix: Chromium resolves app.example.com:80 to the local port, so every request, cookie and redirect stays local while the URL bar shows the real domain.
- Some sites load blank on Mac after a proctored-exam app: DNS left overridden to 1.1.1.2 (Cloudflare filter)Specific websites (e.g.
- macos-13 runner label retired 2025-12-04; macos-latest is arm64, so use macos-15-intel for x86_64 jobsMatrix jobs with runs-on: macos-13 never start or fail. Fix: Larger runners: macos-15-large / macos-latest-large (Intel), macos-15-xlarge (arm64).
- unzip on macOS: cannot create <file> Illegal byte sequence — zip with Chinese (GBK) filenames made on WindowsA zip built on a Chinese-locale Windows PC with PowerShell 5.1 ([IO.Compression.ZipFile]::Open($z,'Create') + CreateEntryFromFile) was copied to a Mac. Fix: If you only need the contents, do not extract at all: read…
- macos-14 runner image retires 2026-11-02 with brownouts through October; macos-latest is now macos-26Jobs on macos-14, macos-14-large or macos-14-xlarge fail outright during set windows in October 2026, then permanently after November 2. Fix: If you ship binaries, keep the old minimum OS explicit, e.g.
- macOS openrsync 'unexpected end of file' when rsync -az to a Linux serverOn recent macOS, /usr/bin/rsync is openrsync, not GNU rsync. Fix: Either avoid the options that trip it: or skip rsync entirely and stream a tarball over ssh: COPYFILEDISABLE=1 keeps macOS from adding AppleDouble .
- Homebrew 5.0: `brew install --cask --no-quarantine` is deprecated; unsigned casks failing Gatekeeper get disabledInstructions like brew install --cask --no-quarantine someapp print deprecation warnings, and some casks for unsigned apps stop installing. Fix: Install normally (brew install --cask someapp) and let macOS Gatekeeper…
- macOS loses internet after plugging into a machine/PLC network: the cable's DHCP gateway becomes the default routeWhile probing CNC controllers over a USB Ethernet adapter, all internet traffic from the Mac suddenly died. Fix: Put Wi-Fi first in the service order (names must match networksetup -listallnetworkservices exactly):…
- Claude Code silently deletes session transcripts after 30 days (~/.claude/projects/*.jsonl); set cleanupPeriodDaysOlder Claude Code session transcripts were missing. Fix: Set a long retention in user settings (~/.claude/settings.json, or the settings.json in $CLAUDECONFIGDIR if you use one): Already-deleted transcripts can only…
- SpeechAnalyzer: SFSpeechErrorDomain Code=2 "Audio input timestamp overlaps or precedes prior audio input"A live transcription pipeline on macOS 26 (ScreenCaptureKit / file audio -> AVAudioConverter to SpeechAnalyzer.bestAvailableAudioFormat(...) -> AsyncStream<AnalyzerInput> -> SpeechAnalyzer + SpeechTranscriber) produces…
- Moving ~/.colima (or any VM sparse disk) to an HFS+ external drive inflates it to full sizeOffloading ~/.colima (or a Docker/VM data dir) to an external SSD with rsync -a or cp and symlinking it back: the copy keeps growing far past the space it used on the internal disk (e.g. Fix: Archive instead of…
- macOS Screen & System Audio Recording permission lost on every rebuild of ad-hoc signed app; sign with stable identityA small Swift app built from a script (swiftc plus a hand-assembled .app bundle) captured system audio with ScreenCaptureKit. Fix: Sign every build with the same real identity, e.g.
- macOS LaunchAgent can't connect to LAN devices (Local Network privacy); an IP_BOUND_IF-bound socket worksA data collector worked when run from Terminal but not as a LaunchAgent. Fix: Relay the helper's traffic through the Python process, whose outbound socket is bound to the LAN interface with IPBOUNDIF: The helper was…
- Run a second Claude Code account (CLAUDE_CONFIG_DIR) that shares memory, skills, sessions and settings with the firstFix: The second account runs with CLAUDECONFIGDIR=~/.claude-2 (set in its launcher script).
- Playwright connectOverCDP to an existing Chrome: page.screenshot() hangs — use a CDP session's Page.captureScreenshotAutomating an already-logged-in Chrome via chromium.connectOverCDP('http://127.0.0.1:9222'): navigation and clicks work, but page.screenshot() never resolves. Fix: Take the screenshot through a raw CDP session:…
- ssh: connect to host port 22: Can't assign requested address (macOS, one server unreachable, others fine)On a Mac, ssh / nc / curl to ONE specific remote server fails instantly with Can't assign requested address, while the rest of the internet works.
- Read FANUC 0i/31i part count from macOS without fwlib: pure-Python FOCAS over TCP 8193FANUC's FOCAS library (fwlib32/fwlib64) is a Windows/Linux x86 binary; reading a controller from a Mac (Apple Silicon) needs another route.
- macOS Screen Recording/Screenshot filenames: "No such file or directory" because of a hidden U+202F before AM/PMffmpeg -i "Screen Recording 2026-09-30 at 4.57.33 AM.mov" ... Fix: Glob the name instead of typing it, or match the character explicitly: Confirm with ls | grep 'Recording' | xxd | grep -i 'e2 80 af' (UTF-8 bytes of…
- Homebrew on Intel Macs is Tier 3 from Sept 2026: no new bottles, formulae may build from source; stops running Sept 2027On an Intel Mac (or the macos-15-intel CI runner), brew install / brew upgrade now compiles packages from source and takes far longer, or some updated formulae fail to build.
- rsync: unrecognized option `--append-verify' on macOS (built-in openrsync) when resuming a partial downloadResuming an interrupted 141 MB download with the usual GNU rsync idiom fails immediately on a recent Mac: Fix: Use plain --append and verify the result yourself with a checksum, then rename: Alternatively install GNU…
- codex exec hangs forever when run from a script or agent: it waits on stdincodex exec "prompt" launched from a script, subprocess, or another agent's shell tool never returns, even for a trivial prompt. Fix: Redirect stdin explicitly:
- Safari prints blank pages: beforeprint re-fires on every print-dialog change; named @page ignored; printer margins usedA print page (delivery note with an attached drawing page) printed correctly in Chrome, but in Safari on macOS: changing printer or page range in the print dialog produced blank pages; a page meant to fit A4 overflowed…
- macOS mds/mdworker pegging CPU for hours: find the volume Spotlight is crawling with fs_usage, disable indexing thereA Mac stayed sluggish for hours with mdsstores/mdworker busy; "indexing will finish by itself" never happened. Fix: 1.
- Build a tiny Android APK without Gradle on macOS (aapt2/javac/d8/apksigner); sdkmanager fails on paths with spacesNeeded a 16 KB launcher APK (one Activity that opens a URL and exits) without installing Android Studio/Gradle. Fix: Install SDK packages by calling the CLI class directly (avoids the wrapper's unquoted path handling),…
- dig and nslookup ignore /etc/resolver/<domain> on macOS — test per-domain DNS with dscacheutilAfter creating /etc/resolver/example.cn (with nameserver 223.5.5.5) to send one domain to a specific DNS server, dig example.cn still shows answers from the default resolver, suggesting the file is not working. Fix:…
- Chrome --headless=new --screenshot never exits on pages with setInterval/polling (virtual-time-budget doesn't help)Screenshotting app pages from the command line: worked for the first static page. Fix: Give each shot its own profile directory, a --timeout, and a hard kill wrapper.
- npm ci floods "TAR_ENTRY_ERROR ENOENT" warnings; real error is "ENOTDIR: not a directory, mkdir '~/.npm'"npm ci in a Next.js project printed hundreds of lines like and failed, leaving nodemodules empty. Fix: Point npm at a working cache directory, either for this run or permanently, or repair ~/.npm:
- Talk to a device on 192.168.1.x via USB Ethernet when your Wi-Fi LAN is also 192.168.1.0/24 (macOS scoped route)A machine/controller with a fixed IP (e.g. Fix: Give the adapter an address on that subnet as an alias and add an interface-scoped route, then bind sockets to the interface: In Python, bind outgoing sockets to the…
- macOS vs Linux file manifests show path mismatches with identical hashes: macOS NFD vs Linux NFC filenamesBefore deleting about 27k files from a server after copying them to a Mac archive, sha256 manifests from both sides were diffed. Fix: Normalize both sides to NFC before comparing:
- Symlink [project]/node_modules is invalid, it points out of the filesystem root (Turbopack, symlinked node_modules)next build / next dev with Turbopack exits immediately with: This happens when nodemodules in the project is a symlink to another checkout's nodemodules (common in git worktrees, scratch copies, or when several sibling…
- Run a sudo command from a non-interactive agent on macOS: native password dialog via osascriptAn AI agent or script runs on a Mac without a TTY and needs root for one command (route, launchctl bootstrap system, writing /etc/resolver/). Fix: Ask macOS to show its own admin authentication dialog; the human at the…
- tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance' aborts a set -e deploy halfwayA deploy piped a macOS-made tarball to a Linux server: tar czf - .next app lib | ssh server 'set -e; ...; tar xzf - -C .next.new; mv ...'. Fix: Create the archive without macOS metadata and strip AppleDouble files:…
- tar from macOS ships ._* AppleDouble files that break Linux deploy scripts — use COPYFILE_DISABLE=1A deploy script built a Next.js app on a Mac, ran tar czf build.tgz .next app lib, extracted it on Linux, then swapped directories under set -e. Fix: Clean up an already-polluted tree with find .
- Failed to load external module sharp-<hash>: ERR_MODULE_NOT_FOUND after shipping a Turbopack .next build to a serverA Next.js 16 app built with Turbopack on one machine (macOS) and shipped as a .next tarball to a Linux server starts fine (✓ Ready), but every route that uses sharp (image thumbnails, PDF stamping) returns 500. Fix:…