# Install on Device (Mac)

> The Mac sheet that installs an app package on an iPhone or iPad plugged into the Mac, signing it first with your Apple team or your own Apple Account if needed.

Source: https://air.build/docs/screens/home/mac-installer/

> [!NOTE]
> Mac only, and not in the App Store version of AirBuild. The TestFlight and direct-download versions have it.

**Install on Device** on the Mac is the sheet that puts an app package (an `.ipa`) on an iPhone or iPad plugged into the Mac with a cable. If the package isn't signed for that device yet, the sheet signs it on the Mac first, with your Team's Apple team (**Developer Account**) or your own Apple Account (**Personal Account**). It's the Mac's counterpart of [Install on Device](https://air.build/docs/screens/home/install-on-device/) on iPhone and iPad.

The device must be paired with this Mac and have Developer Mode on. See Settings › [Devices](https://air.build/docs/settings/devices/#connected-mac).

## Open it

- **A project's build:** choose **Project › Install** in the menu bar, then a version. The same **Install** submenu is in the sidebar's right-click menu and under **⋯** (**More**) in the chat's toolbar.
- **App Packages:** choose **Install on Device…** on a package.
- **Any `.ipa`:** choose **File › Install App Package…**, then drop the file on the sheet or click **Choose File…**.
- **From the iPhone:** on an iPhone plugged into this Mac, tap **Install Using a Mac** (or the connect step in App Packages). The sheet opens on the Mac by itself, with "Adding to _device_" at the top.

The sheet opens on AirBuild's main window, which comes back first if it was closed.

## What's on it

The sheet is titled **Install on Device** and shows one step at a time. The back button returns to the step before, and **Cancel** closes the sheet. The button at the bottom right is the step's own: **Sign In**, **Verify**, **Create Certificate**, **Revoke Certificate** (or **Revoke _n_ Certificates**), **Continue**, **Sign**, **Install** or **Try Again**; it's dimmed until the step has what it needs. Once the app is installed, **Cancel** becomes **Done** and a **Reinstall** button appears. Return presses the step's button, or **Done** once the app is installed.

### The package

| Item | What it shows or does |
| --- | --- |
| "Drop an .ipa file here." | When you opened **Install App Package…**: drop a file anywhere on the sheet, or click **Choose File…**. After a file is read and before you pick an account, **Choose Another File…** swaps it. |
| **Downloading _app_…** | A project's build is coming to this Mac. |
| **Waiting for the App Package…** / **Receiving the App Package…** | The iPhone that asked is sending the package. |
| **Reading the App Package…** | AirBuild is reading the file. |
| App | The app's icon, name and "Version _x_, iOS _y_ or later" (or only "Version _x_" or "iOS _y_ or later" when the package says only one). |
| **Included** | Other parts inside the package, such as extensions or an App Clip, and what kind each is. |

### Connected

When the package is already signed for a device that's plugged in, that device is listed under **Connected**, "Installs directly over the cable." Click it to install as-is.

### Install With

The accounts that can sign the package for a device, Developer first. None are shown when every connected device can take the package as-is.

| Account | Line under it |
| --- | --- |
| **Developer Account** | "Signs with your Apple team’s certificate. Lasts up to a year." Offered when your Team's Apple team can sign. |
| **Personal Account** | "Free. Reinstall every 7 days." It adds "Leaves out _capabilities_." when the app uses features a free account can't sign. When it can't sign the package, it says "Can’t install: part of this package isn’t signed." instead and can't be clicked. |

Under the list, when the developer account isn't offered: "Sign in to AirBuild to install with a developer account." or "No Apple team is set up for signing yet. Set one up in Settings ▸ Developer, then try again."

### Developer Account

Only the Team's owner can use it. The steps:

1. **Choose the device** under **Connected**.
2. **Check.** The sheet shows **Signing With**: **Apple Team** (a picker when there's more than one), **Certificate** ("Expires _date_") and **Device**, with "Uses the development certificate your Apple team already has. No certificate or key is created." **Identifiers** lists the app and its parts; a wildcard one says "The wildcard profile signs an identifier your Apple team has no App ID for. Nothing is registered for it." Capabilities show as **Capabilities Kept**, **Capabilities Left Out** or **Capabilities Checked When Signing**.
3. **Agree,** if signing has to add something to your Apple team: "Signing adds the following to your Apple team. Select each one you agree to." Tick each item, then **Continue**:
   - **Register “_device_” with _team_**: "It takes one of the team’s device slots until the membership year ends. Removing the device sooner doesn’t free the slot."
   - **Add a wildcard App ID to _team_**: "Added once and used again for every app the team has no App ID for."
4. **Sign.** Click **Sign** (dimmed until every item in step 3 is ticked). Progress: **Registering Your Device…**, **Downloading Profiles…**, **Preparing Your Certificate…**, **Signing the App…**. It ends with **Signed**, "Ready to install on _device_."
5. **Install.** Click **Install**. Progress: **Copying to Your Device…**, **Installing…**. When it's done: "It works until _date_." If capabilities were left out: "The app is installed without the capabilities left out, so features that need them won’t work."

### Personal Account

Your own Apple Account, free. See [Install with a free Apple ID (Mac)](https://air.build/docs/build/install-with-free-apple-id/) for the full walk.

1. **Sign in:** **Apple Account** and **Password** ("Required"), with "Sign in with the Apple Account the app is installed under." and "Your password goes only to Apple and isn’t saved." If the address looks mistyped, **Did you mean _address_?** fixes it. Click **Sign In**. Once signed in, **Use Another Apple Account** switches.
2. **Verification Code:** enter the code. The header says "Enter the code shown on your other Apple devices." or "Enter the code sent to _number_." For a new code, open **Didn’t Get a Code?** and choose **Send to My Devices** or **Text _number_**. Click **Verify** (dimmed until the code is complete).
3. **Certificate,** the first time on this Mac: "This Apple Account has no signing certificate from this Mac yet." and "AirBuild will create a signing key in your keychain and ask Apple for a development certificate." "Nothing is created until you choose Create Certificate." Click **Create Certificate**. If the account already has as many certificates as it can ("Your Apple Account holds as many development certificates as it can. Choose one or more to revoke."), tick one or more ("Apps signed with a revoked certificate stop opening.") and click **Revoke Certificate**, or **Revoke _n_ Certificates** when you ticked more than one.
4. **Choose the device** under **Connected**.
5. Progress: **Preparing Your Apple Account…**, **Registering Your Device…**, **Preparing Your Certificate…**, **Registering the App…**, **Downloading Profiles…**, **Signing the App…**, **Copying to Your Device…**, **Installing…**.
6. When it's done: "It works until _date_. An install with a personal account lasts 7 days; reinstall from here to keep using the app." Click **Reinstall** to renew it.

## Install a project's build

1. Plug the iPhone or iPad into the Mac and unlock it.
2. Choose **Project › Install**, then the version you want. With no builds yet, choose **Build New Package** first; see [App Package](https://air.build/docs/screens/home/app-package/).
3. If the device is listed under **Connected**, click it. The app installs.
4. Otherwise click **Developer Account** or **Personal Account** and follow its steps.

## Messages

| Message | What to do |
| --- | --- |
| "This file isn’t an app package AirBuild can read." / "There’s no app inside this package." | Choose another `.ipa`. |
| "This project has no app package yet. Build one in App Packages first." | Build a package; see [App Package](https://air.build/docs/screens/home/app-package/). |
| "The device disconnected before the app package arrived. Connect it and try again from the device." | Plug it back in and start again on the iPhone. |
| "Only this Team’s owner can install with its developer account. Ask the owner, or go back and choose Personal Account." | Ask the owner, or use **Personal Account**. |
| "Your Apple sign-in has expired. Sign in again." | Click **Sign In Again**. |
| "Couldn’t register this device with your Apple team." / "Couldn’t get profiles from your Apple team." / "Couldn’t get your Apple team’s certificate." / "Couldn’t check your Apple team." | Read the reason under it, then **Try Again**. Some offer **Open Developer Account** or **Open Users and Access** on Apple's site. |
| "Apple is still adding this device to your team. That usually takes a few minutes and can take longer. Try again later." | Wait, then **Try Again**. |
| "Couldn’t sign the app. Try again." | Click **Try Again**. |
| "That Apple Account or password isn’t right." | Check them and sign in again. |
| "This Apple Account is locked. Unlock it at iforgot.apple.com, then try again." | Click **Open Apple Account** and unlock it. |
| "This Apple Account isn’t set up for app development yet. Sign in once at developer.apple.com, then try again." | Click **Open Developer Account**, sign in once, then try again. |
| "This Apple Account has registered as many apps as it can this week. Try again in a few days." | Wait, or use **Developer Account**. |
| "That code isn’t right. Try again." | Shown under the code field. Enter the code again, or ask for a new one under **Didn’t Get a Code?**. |
| "Too many tries. Wait a few minutes, then try again." | Wait. |
| "Couldn’t reach Apple. Check your connection and try again." | Check the Mac's internet connection. |
| "Apple didn’t accept the sign-in. Try again in a moment." / "Installing with a personal account isn’t available right now. Try again later." | Try again later. |
| "Developer Mode is off. Turn it on in Settings ▸ Privacy & Security." | Turn it on on the device and restart it. |
| "Not paired. Pair it in Settings ▸ Devices." | Pair the device; see Settings › [Devices](https://air.build/docs/settings/devices/#connected-mac). |
| "Couldn’t install the app on the device. Check the cable and try again." | Check the cable, unlock the device, **Try Again**. For a package installed as-is: "If it still won’t install, go back and sign it with an account." |
