Skip to content

let your agent control your phone

fix: depend on a package that exists on PyPI

ShawnPana1747053d239d
diff --git a/install.md b/install.md
index f3a57f9..02c8f56 100644
--- a/install.md
+++ b/install.md
@@ -7,7 +7,7 @@ Use once. For phone work, read `SKILL.md`.
- macOS Sequoia+ with iPhone Mirroring paired to the phone (open the app once
manually to pair — pairing prompts need the physical phone).
- Python 3.12+ with pyobjc (`pip install pyobjc-framework-Quartz
- pyobjc-framework-Vision pyobjc-framework-AppKit`).
+ pyobjc-framework-Vision pyobjc-framework-Cocoa`).
- The terminal app needs two permissions in System Settings > Privacy &
Security. **The toggles require the user:**
- **Accessibility** — taps and keystrokes. Takes effect immediately.
@@ -36,7 +36,7 @@ open "x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapt
```bash
git clone https://github.com/ShawnPana/phone-harness ~/.phone-harness # canonical home
cd ~/.phone-harness
-pip install pyobjc-framework-Quartz pyobjc-framework-Vision pyobjc-framework-AppKit
+pip install pyobjc-framework-Quartz pyobjc-framework-Vision pyobjc-framework-Cocoa
pip install -e . --no-deps # installs the global `phone-harness` command
# register as an agent skill so Claude Code / Codex auto-use it (see below)
diff --git a/pyproject.toml b/pyproject.toml
index 27a7284..46a7be4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ requires-python = ">=3.10"
dependencies = [
"pyobjc-framework-Quartz",
"pyobjc-framework-Vision",
- "pyobjc-framework-AppKit",
+ "pyobjc-framework-Cocoa",
"pyobjc-framework-ApplicationServices",
]