# App Package

> One app package's page in App Packages: its app, version and bundle ID, Add to Device or Install on Device, the .ipa, Cancel Build and Delete Package, and its status, signing, size, duration, credits and how long it's kept.

Source: https://air.build/docs/screens/app-packages/package-details/

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

**App Package** shows one package from the project's [App Packages](https://air.build/docs/screens/app-packages/packages-tab/) tab, or someone's build still under way. At the top are the app's icon, name, version and bundle ID; under them what you can do with the package (install it, get its `.ipa`, cancel or delete it), then its facts.

## Open it

**iPhone**

On iPhone, tap a package in **App Packages**: its page is pushed over the list, titled **App Package**, with **Back** to return. On iPad, tapping a package opens it as a sheet beside the chat.

A build you started on this iPhone opens this page by itself when it succeeds, if the list is on screen.

**Mac**

Click a package in **App Packages**. It opens as a sheet.

A build under way that someone else started also opens here; a build you started on this device opens its build steps instead.

## What's on it

| Item | What it shows or does | When it shows |
| --- | --- | --- |
| Head | The project's icon, the app's name, its version and build number (for example "5.2.10 (645)") and its bundle ID. The version and bundle ID can be selected and copied. | Always. |
| **Add to Device** | The large button under the head. Puts the package on this iPhone or iPad. While the app works out how, a spinner shows beside the label and the button is dimmed. See [Add to Device](https://air.build/docs/screens/app-packages/package-details/#add-to-device). | iPhone and iPad, when the package is **Ready to Install**. |
| **Cancel Build** | Stops the build. It reads **Cancelling…** and is dimmed until the build has stopped. | While the build can still be stopped. |
| **Install on Device…** | Closes the sheet and opens [Install on Device (Mac)](https://air.build/docs/screens/home/mac-installer/) on this package. | Mac, when the package is **Ready to Install**. |
| **Save .ipa to Downloads** | Mac: downloads the `.ipa` and saves it to Downloads, showing **Downloading** with a percentage meanwhile. Then reads **Show in Finder**, which shows the file in Finder. | When the package's files can be downloaded. |
| **Download .ipa** | iPhone and iPad: downloads the `.ipa`. While it downloads: **Downloading** with a percentage and a ring. Then it reads **Share .ipa…**, which opens the share sheet (Save to Files, AirDrop, other apps). On iPhone this is a button in the top-right corner rather than a row (a down arrow, then a share icon), and a ring fills in its place while it downloads. If the download fails, the reason shows and the button is there to try again. | When the package's files can be downloaded. |
| **Delete Package** | Deletes the package's files after **Delete Package?**: "The package’s files are deleted now. It stays in this list as a record." Tap **Delete Package** to confirm. Afterwards **Status** and **Kept Until** read **Expired**. | When you may delete it. |
| **Status** | **Ready to Install**, **Cancelled**, **Failed** or **Expired**. For a build under way, its step and the time so far, for example "Building 2 min, 14 sec elapsed", or **Cancelling**. | When known. |
| **Signing** | **Unsigned**, **Development** with the Apple team's name (signed for that team's registered devices), or **App Store** with the Apple team's name. | When known. |
| **Built** | When the package was made, for example "Today at 14:02". | Not while it builds. |
| **Built By** | Who started the build. | When known. |
| **Size** | The size of the `.ipa`. | When known. |
| **Duration** | How long the build took. | When known. |
| **Credits** | What the build used, for example "64 credits". "About _n_ credits" is an estimate before the use is recorded; **Calculating credits** while it's worked out. A canceled build adds "(half price when cancelled)". | Not for builds that use no credits, such as builds on a local Team's Mac. |
| **Kept Until** | The day the package's files are deleted, or **Expired**. | When known. |
| **Done** | Closes the sheet. On the Mac, Return presses **Done**. | iPad and Mac (the sheet). On iPhone, use **Back**. |

On the Mac the sheet has no title bar: the head is the first thing on it.

The page follows the list: a delete or a refresh shows on it while it's open. Close the sheet to go back to the list.

## Add to Device

On iPhone and iPad, **Add to Device** finds the way to put the package on the device you're holding:

1. If AirBuild doesn't know which device this is, the [Devices](https://air.build/docs/screens/add-to-device/devices-sheet/) sheet opens so you can register it. Once it's registered, the sheet closes and Add to Device goes on by itself.

2. If your Team's Apple team can sign the package for this device, a choice appears beside the button:

   - **Sign with Developer Account**: the [Install on Device](https://air.build/docs/screens/home/install-on-device/) sheet signs it for this device, then opens the install page by itself.
   - **Connect to a Mac**: opens [Connect to a Mac](https://air.build/docs/screens/add-to-device/connect-to-a-mac/), where AirBuild on a Mac installs it over a cable, signing it with your Apple Account first unless it's already signed for this device.

   Tap outside the choice to leave it.

3. Otherwise (for example, no Apple team that can sign, or a package that can't be signed again), [Connect to a Mac](https://air.build/docs/screens/add-to-device/connect-to-a-mac/) opens straight away.

Step by step: [Install your app on your iPhone](https://air.build/docs/build/install-on-your-iphone/#from-app-packages)

## Messages

| Message | When it shows | What to do |
| --- | --- | --- |
| "This package has expired. Build a new one to install it." | The download found the files gone. | Build a new package. |
| "The package couldn’t be downloaded. Try again." | The download failed. Shown in place of the download. | Tap the download button again. |
| "The build couldn’t be cancelled. Try again." | **Cancel Build** failed. Shown under the facts. | Try again. |
| "The package couldn’t be deleted. Try again." | **Delete Package** failed; the package comes back as it was. Shown under the facts. | Try again. |
| "Only the owner of this workspace or the person who built this package can delete it." | You're neither. | Ask the Team's owner or the person who built it. |
