# PadXcode — iPad App Native iPadOS code editor. Connects to PadXcode-Daemon on your Mac over Tailscale. ## Xcode Setup ```bash ./generate.sh open PadXcode.xcodeproj # Signing & Capabilities → set your Development Team # Destination: your iPad → ⌘R ``` ## Git Setup Your Raspberry Pi is the central git remote. Working Copy on iPad and Xcode on Mac both push/pull to/from the Pi. **Add the Pi as remote in Working Copy:** - Working Copy → your repo → Remote → set to your Pi's HTTP URL - e.g. `http://pi.tailscale-ip/PadXcode-iPad.git` **Clone on Mac (for Xcode source control):** ```bash git clone http://pi.tailscale-ip/PadXcode-iPad.git ~/Dev/PadXcode-iPad open ~/Dev/PadXcode-iPad/PadXcode.xcodeproj ``` Xcode handles all git operations (pull, commit, push) from Source Control. ## Workflow 1. Edit code in PadXcode on iPad 2. Git panel → Commit & Push → Working Copy pushes to Pi 3. On Mac: Xcode → Source Control → Pull (gets iPad changes from Pi) 4. Mac can also commit and push back to Pi from Xcode 5. Daemon builds whatever is in the Mac working copy