41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
# PadXcode — Mac Daemon
|
|
|
|
macOS menu bar app. Runs a Vapor server the iPad connects to over Tailscale.
|
|
Builds your projects and deploys to your physical iPad wirelessly via devicectl.
|
|
|
|
## Xcode Setup
|
|
```bash
|
|
./generate.sh
|
|
open PadXcodeDaemon.xcodeproj
|
|
# Signing & Capabilities → set your Development Team
|
|
# Destination: My Mac → ⌘R
|
|
# Daemon appears in menu bar
|
|
```
|
|
|
|
## Config
|
|
`~/.padxcode/config.json` is auto-created on first run. Edit it:
|
|
```json
|
|
{
|
|
"developmentTeam": "YOUR_10_CHAR_TEAM_ID",
|
|
"codeSignIdentity": "Apple Development",
|
|
"allowProvisioningUpdates": "true"
|
|
}
|
|
```
|
|
|
|
## Git Setup
|
|
|
|
Your Raspberry Pi is the central git remote.
|
|
Xcode on Mac handles all git operations for this project.
|
|
|
|
**Clone on Mac:**
|
|
```bash
|
|
git clone http://pi.tailscale-ip/PadXcode-Daemon.git ~/Dev/PadXcode-Daemon
|
|
open ~/Dev/PadXcode-Daemon/PadXcodeDaemon.xcodeproj
|
|
```
|
|
Xcode → Source Control → Pull/Commit/Push as normal.
|
|
|
|
## Workflow
|
|
- iPad edits NavidromePlayer (or any project) via PadXcode
|
|
- iPad Git panel commits and pushes to Pi via Working Copy
|
|
- Mac Xcode pulls from Pi to get latest
|
|
- Mac builds and deploys via the daemon
|