> For the complete documentation index, see [llms.txt](https://docs.flipabit.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flipabit.dev/getting-started/build/build-for-ios.md).

# Build for iOS

## 1. Create An Apple Developer Account

You will need to create an [Apple Developer Account](https://developer.apple.com/support/compare-memberships/) if you do not already have one.

## 2. Create an App ID

2.1. Log into your [Apple Developer Account](https://developer.apple.com/account), navigate to Certificates, Identifiers, and Profiles

![](/files/-MIxukPqE7DMrBfGQLTP)

2.2. Сlick on App IDs in the left-side menu, enter Name and Bundle ID.

![](/files/-MIxukPoW0oyolmBSalU)

2.3. Click Continue, then click Register

## 3. Generate a Certificate Signing Request File

3.1. Open Keychain Access

3.2. Select Certificate Assistant › Request a Certificate From a Certificate Authority in the menu

![](/files/-MIxukPpNlXuKuxW-AOt)

3.3. Enter real Email Address and Common Name, leave the CA Email Address box blank, enable Saved to disk and click Continue

![](/files/-MIxukPrXsG9XOkACMrH)

3.4. Click Save, you'll get a `.certSigningRequest` file

![](/files/-MIxukPsRbinjs3HU843)

## 4. iOS App Certificate

4.1. Log into your [Apple Developer Account](https://developer.apple.com/account), navigate to Certificates, Identifiers, and Profiles

4.2. Click Development in the Certificates section in the left-side menu.

![](/files/-MIxukPtlEgFV4evi_4J)

4.3. Select the iOS App Development and click Continue

![](/files/-MIxukPuhY1ugatNwpNz)

4.4. Click Choose File... and select `.certSigningRequest` file you created from step 3.4 above, then click Continue

![](/files/-MIxukPvUp8Al-O54hZG)

4.5. Click Download, you'll get a `.cer` file

![](/files/-MIxukPwYtTDpiBKYk7m)

## 5. Convert the Certificate to a P12 File

5.1. Open Keychain Access, and drag your `.cer` file from STEP 4.6 into your login keychain.

![](/files/-MIxukPxyJStsn0TRbiS)

5.2. Right click on added certificate, and choose Export

![](/files/-MIxukPy_pil0HZXA5J0)

5.3. Select Personal Information Exchange (.p12) for File Format and click Save

![](/files/-MIxukPzvmZp1c046r7Z)

5.4. Enter Password

![](/files/-MIxukQ-JdlGRhn_W33T)

## 6. Create A Provisioning Profile

6.1. Log into your [Apple Developer Account](https://developer.apple.com/account), navigate to Certificates, Identifiers, and Profiles

6.2. Click Development in the Provisioning Profiles section in the left-side menu.

![](/files/-MIxukQ0kByElR8-0U6P)

6.3. Select iOS App Development and click Continue

![](/files/-MIxukQ1As02uYj0bVIn)

6.4. Select your app name from App ID list and click Continue

![](/files/-MIxukQ2bxD96BEwNbSs)

6.5. Select certificate name and click Continue

![](/files/-MIxukQ3zfXGIxBsybrx)

6.6. Select all devices and click Continue

![](/files/-MIxukQ4wAZKADYzNJ04)

6.7. Enter profile name and click Continue

![](/files/-MIxukQ5T4PuNKgUVSlw)

6.8. Click Download, you'll get a `.mobileprovision` file

![](/files/-MIxukQ68Jptq_RLWx9w)

## 7. Build IPA file from Flipabit

7.1. Launch Flipabit

7.2. Select File > Export > Export to mobile

![](/files/-MIxukQ7FQ1iNF7jhgzE)

7.3. [Create and upload your project](https://app.gitbook.com/intro/run-on-device.md) file if you don't already create it.

7.4. Click Edit and select Info

![](/files/-MIxukQ8y8jp1da1350Q)

7.5. Into Package Name field paste your Bundle ID from STEP 2.2.

![](/files/-MIxukQ9_jptgZUAarpU)

7.6. Click Choose file for Provisioning Profile and select your `.mobileprovision` file from STEP 6.8.

![](/files/-MIxukQADGJUXca90DoI)

7.7. Click Choose file for iOS Certificate and select your `.p12` file from STEP 5.3.

![](/files/-MIxukQB5nk5qFBofgey)

7.8. Into Certificate Password paste your password from STEP 5.4.

![](/files/-MIxukQCWn_MIjcFYhzM)

7.9. Click Update project

7.10. Click Build and select iOS

![](/files/-MIxukQDmi7YKgMgStdk)

7.11. When the building process is finished, you'll see a link

7.12. Click Download, you'll get an `.ipa` file

![](/files/-MIxukQEDUp7yvfaRfsK)
