Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Build and run the OpenClaw macOS application from source.
Before building the app, ensure you have the following installed:
22.14+Install the project-wide dependencies:
bashpnpm install
To build the macOS app and package it into
dist/OpenClaw.appbash./scripts/package-mac-app.sh
If you don't have an Apple Developer ID certificate, the script will automatically use ad-hoc signing (
-For dev run modes, signing flags, and Team ID troubleshooting, see the macOS app README: https://github.com/openclaw/openclaw/blob/main/apps/macos/README.md
Note: Ad-hoc signed apps may trigger security prompts. If the app crashes immediately with "Abort trap 6", see the Troubleshooting section.
The macOS app expects a global
openclawTo install it (recommended):
Alternatively, install it manually:
bashnpm install -g openclaw@<version>
pnpm add -g openclaw@<version>bun add -g openclaw@<version>The macOS app build expects the latest macOS SDK and Swift 6.2 toolchain.
System dependencies (required):
Checks:
bashxcodebuild -version xcrun swift --version
If versions don’t match, update macOS/Xcode and re-run the build.
If the app crashes when you try to allow Speech Recognition or Microphone access, it may be due to a corrupted TCC cache or signature mismatch.
Fix:
Reset the TCC permissions:
bashtccutil reset All ai.openclaw.mac.debug
If that fails, change the
BUNDLE_IDscripts/package-mac-app.shIf the gateway status stays on "Starting...", check if a zombie process is holding the port:
bashopenclaw gateway status openclaw gateway stop # If you're not using a LaunchAgent (dev mode / manual runs), find the listener: lsof -nP -iTCP:18789 -sTCP:LISTEN
If a manual run is holding the port, stop that process (Ctrl+C). As a last resort, kill the PID you found above.
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine