# 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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPqE7DMrBfGQLTP%2Fintro_exportios_step1_1.png?alt=media\&token=f528c700-33ea-42e1-8b7c-30121f622f71)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPoW0oyolmBSalU%2Fintro_exportios_appid2.png?alt=media\&token=b293bc58-42fd-47ab-8bd6-06c5917fbec6)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPpNlXuKuxW-AOt%2Fintro_exportios_request.png?alt=media\&token=3bd45508-37b4-4f9a-ae0e-37c11e791784)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPrXsG9XOkACMrH%2Fintro_exportios_step2_1.png?alt=media\&token=a8182ec0-304c-49c4-b8fa-20f092134af1)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPsRbinjs3HU843%2Fintro_exportios_step2_2.png?alt=media\&token=939e1c36-abd6-4b8e-b1a5-58fa99c77cc0)

## 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.

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPtlEgFV4evi_4J%2Fintro_exportios_step3_1.png?alt=media\&token=5f698a71-a0ff-43e7-b1ad-5927ff5576df)

4.3. Select the iOS App Development and click Continue

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPuhY1ugatNwpNz%2Fintro_exportios_step3_2.png?alt=media\&token=5ae49b66-d0d9-486d-b041-4a81412aa724)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPvUp8Al-O54hZG%2Fintro_exportios_step3_3.png?alt=media\&token=7b5f6679-f8b5-4ca7-9264-79455d59c2c2)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPwYtTDpiBKYk7m%2Fintro_exportios_step3_4.png?alt=media\&token=52ab3d80-11ef-451f-828c-5277c154473a)

## 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.

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPxyJStsn0TRbiS%2Fintro_exportios_step5_1.png?alt=media\&token=82896439-90f5-41a3-abbc-a0272c5641c4)

5.2. Right click on added certificate, and choose Export

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPy_pil0HZXA5J0%2Fintro_exportios_step5_2.png?alt=media\&token=42677349-ef49-4f4a-ba0e-e840d95d1d82)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukPzvmZp1c046r7Z%2Fintro_exportios_step5_3.png?alt=media\&token=a1ab51b4-ef2d-4d35-a50a-8da0488c951e)

5.4. Enter Password

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ-JdlGRhn_W33T%2Fintro_exportios_step5_4.png?alt=media\&token=ec9daabd-0a14-4b2e-a5a3-0ba381bf2b7f)

## 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.

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ0kByElR8-0U6P%2Fintro_exportios_step6_1.png?alt=media\&token=43997075-4fd0-4716-a3dc-81aacbc5487e)

6.3. Select iOS App Development and click Continue

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ1As02uYj0bVIn%2Fintro_exportios_step6_2.png?alt=media\&token=a9eee514-184f-4610-8d23-8f7da9af0b0b)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ2bxD96BEwNbSs%2Fintro_exportios_step6_3.png?alt=media\&token=18bea5ea-3461-4fc7-85fe-53b81613b10b)

6.5. Select certificate name and click Continue

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ3zfXGIxBsybrx%2Fintro_exportios_step6_4.png?alt=media\&token=3ff47e02-82b6-4cc2-ace0-e8dbde4e460c)

6.6. Select all devices and click Continue

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ4wAZKADYzNJ04%2Fintro_exportios_step6_5.png?alt=media\&token=fc7ebb17-28a4-4286-836d-0a9a769debbc)

6.7. Enter profile name and click Continue

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ5T4PuNKgUVSlw%2Fintro_exportios_step6_6.png?alt=media\&token=42c52ff6-7e6a-4b41-93a8-6d7de08612fa)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ68Jptq_RLWx9w%2Fintro_exportios_step6_7.png?alt=media\&token=9aaa96e8-57e1-41b1-b8fc-7bd2702fa5e9)

## 7. Build IPA file from Flipabit

7.1. Launch Flipabit

7.2. Select File > Export > Export to mobile

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ7FQ1iNF7jhgzE%2Fintro_exportios_step7_2.png?alt=media\&token=f134a7ef-cfe8-4462-863d-427d7f272d43)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ8y8jp1da1350Q%2Fintro_exportios_step7_3.png?alt=media\&token=50c0d3e0-ecdf-421f-a5e7-21f26f54d9e7)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQ9_jptgZUAarpU%2Fintro_exportios_step7_4.png?alt=media\&token=53827be1-77de-48d6-aded-8e6de8f358f7)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQADGJUXca90DoI%2Fintro_exportios_step7_5.png?alt=media\&token=c1decb30-d6cb-4091-8fae-b0c30d953351)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQB5nk5qFBofgey%2Fintro_exportios_step7_6.png?alt=media\&token=235f9d93-cdd8-4ba5-b0ba-7d568fe86d94)

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQCWn_MIjcFYhzM%2Fintro_exportios_step7_7.png?alt=media\&token=63b5d3e9-7271-4e77-95ba-b3056af8fe2e)

7.9. Click Update project

7.10. Click Build and select iOS

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQDmi7YKgMgStdk%2Fintro_exportios_step7_9.png?alt=media\&token=1203272e-c525-4943-9aef-4980dee0495b)

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

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

![](https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukQEDUp7yvfaRfsK%2Fintro_exportios_step7_10.png?alt=media\&token=f93702d8-324b-400a-bafd-20b704c3cbbf)
