# Pallas Phone Control Installer (Mac · beta)

Use a Mac and a cable to add phone control to an iPhone or iPad that has a compatible Pallas Agent installed.

- **Who it is for**: use the Mac installer with a compatible App Store build. TestFlight users can also use it on iOS or iPadOS 18 and later. TestFlight builds also offer on-device setup on iOS or iPadOS 27 and later.
- **Beta**: it has not yet been through a full acceptance run with a real free Apple Account. The installer is ad-hoc signed and not notarized by Apple.

## What you need

- A Mac with macOS 13 or later, a cable, and an internet connection.
- An App Store build with Settings > Phone Control, or TestFlight version 0.5.1 or later, on the iPhone or iPad.
- An Apple Account; a free one works.
- No Xcode, Python or other sideloading tools.

## Install

1. Unzip and open "Pallas 手机操控安装器.app" (Pallas Phone Control Installer). If macOS blocks it, go to System Settings › Privacy & Security and click Open Anyway.
2. Connect and unlock the device. The first time, tap Trust on the device and enter your passcode. Pick it under Connected Devices.
3. Click Install Phone Control. Turn on Developer Mode when the window asks; after the restart, unlock and confirm. The window waits for the same device to come back.
4. Sign in to your Apple Account in the window, including the verification code. If the account has several teams, pick one from the list.
5. The installer signs the phone control component, installs it, pairs it with the installed Pallas app, and prepares the developer runtime.
6. After the first install, on the device open Settings › General › VPN & Device Management, tap the row that starts with "Apple Development" followed by your Apple Account, and tap Trust.
7. Go back to Pallas, open Settings › Capabilities › Phone Control, turn on Phone Control, then tap Try Phone Control.

## Expiry and reinstalling

- Free-account signatures expire after 7 days. Before then, connect this Mac and click Install Phone Control again; your data in Pallas stays. This installer does not renew automatically.
- After deleting and reinstalling Pallas, install the component again with the installer.
- If phone control stops opening after the device restarts, click Repair Phone Control first. It only prepares the developer runtime again: no account, no reinstall.

## Troubleshooting

- **"Install a version of Pallas Agent that supports phone control first"**: install a compatible host app on the device.
- **"The main app is too old"**: update Pallas to a compatible version.
- **Free-signing app limit reached**: a free account can sideload 3 apps at a time. Delete an old sideloaded app you no longer use, then install again. The installer never deletes apps on the device.
- The detailed log is always available; Copy Log lets you send us what happened.

## Account and privacy

- Your Apple Account, password and verification code go straight to Apple over an encrypted connection. The password and code are not stored and never written to the log.
- Sign-in uses device verification data from ani.iloader.app, which never receives your account, password or code.
- The first time the developer runtime is prepared, an Apple-signed developer disk image is downloaded from a pinned commit of doronz88/DeveloperDiskImage, its SHA-256 is checked, and Apple and the device verify it.
- The signing key stays in this Mac's Keychain and is reused for the same account next time, so certificates don't run out. The installer never revokes certificates by itself.

## Building

Building needs Xcode and Rust (the aarch64-apple-darwin and x86_64-apple-darwin targets); people using the installer need neither.

```
Tools/ScreenRunner/package-mac-installer.sh --phone-control <ScreenRunner.ipa> <output.zip>
```

Without `--phone-control` the script builds the full package that installs the main app and the component, for embedding in Pallas for Mac. The Rust service is in `../NativeInstaller`; the window passes credentials over a private stdin pipe and receives progress as JSON Lines. At run time it calls no xcodebuild, xcrun, devicectl or Python. Third-party licenses ship in the app's Resources/ThirdPartyNotices.txt.
