# iOS Configuration

### Install Pod

1. Open **`FlyWeb_Flutter`** folder with Android Studio
2. open **`terminal`** from Android Studio
3. run **`cd ios`**
4. run **`pod deintegrate`**
5. run **`pod install`**
6. run **`pod repo update`**
7. You can open Flyweb from Xcode with **`next step Open iOS project`**

{% hint style="info" %}
NB: for Install Pod in your computer&#x20;

[CocoPods](https://guides.cocoapods.org/using/getting-started.html)
{% endhint %}

### Open iOS project

Open **`FlyWew_Flutter/ios/Runner.xcworkshop`** folder with Xcode

![Open Runner.xcworkspase](/files/-Mc_Gy_6VqQ1s67dpHpu)

### Change icon application <a href="#icons" id="icons"></a>

1. Open **`FlyWew_Flutter/ios/Runner.xcworkshop`** folder with Xcode
2. Open **`Assets.xcassets`** from **`Runner->Runner`** folder
3. Use <https://makeappicon.com/> to generate all formats icons needs for ios
4. Drag and drop your icon with the same size&#x20;

### Change Application Name

1. Open **`FlyWew_Flutter/ios/Runner.xcworkshop`** folder with Xcode
2. Open **`Info.plist`**
3. Change **`Bundle name`** with your **`application name`**

![](/files/-Mc_HB8wshJYG-0Ik6xk)

### Package Name

1. Click in **`Runner`**&#x20;
2. In the **`TARGETS`**  press to **`Runner`**&#x20;
3. Change Bundle Identifier with your **`package name`**

![](/files/-Mc_HY9HeM36Kw91k4rQ)

&#x20;     4\. In the **`TARGETS`**  press to **`OneSignalNotificationService`**  change          **com.flyweb**.OneSignalNotificationServiceExtension with your **`package name`**           &#x20;

i.e **:** **com.packagename**.OneSignalNotificationServiceExtension

{% hint style="info" %}
**NB:**\
Don't remove **OneSignalNotificationServiceExtension** from bundle identifier&#x20;
{% endhint %}

## Create new App Bundle Identifier <a href="#id-0b5b" id="id-0b5b"></a>

Navigate to <https://developer.apple.com/account> and login to your Apple Developers account.

Go to Identifiers and create a new ID. This bundle ID is required to create app in App Store.

![](/files/-MfOCl4o2QTngJ9EXHOF)

Select App IDs and continue![](https://miro.medium.com/max/60/1*u9fy3CU13xQaPVaj1dBJUw.png?q=20)<br>

![](/files/-MfOCzPqwDJmiKOxOdZM)

Select App to Register

![](/files/-MfOD64ObjmH2W0XItsR)

Provide description, bundle ID and check capabilities you need in you app<br>

![](/files/-MfODIWcVFNTacKyeOSI)

Once done, you will have an Identifier created for the app.

![](/files/-MfOD_P5OeFpHaoH7M74)

## Create a new application in App Store <a href="#id-65fd" id="id-65fd"></a>

Navigate to App Store connect <https://appstoreconnect.apple.com/apps> and login. Go to Apps and create a New App

![](/files/-MfODsqWiGWo_WLKExR3)

Fill required details in the form and click on Create

![](/files/-MfOE7VgMMQ63i8QNsGo)

Once done, you will have an app created.

## Submit app to TestFlight for the First time

App Center allows only updating existing apps. In order to use automated release process, you will need to upload your app to TestFlight from Xcode only once.

Build your flutter app for iOS.

![](/files/-MfOEuirM_GjHf2ihaN0)

Open your app in Xcode. Go to Product > Archive

![](/files/-MfOF2eTCMUh2G30nDgP)

Once the archive is created, you can distribute app to app store in TestFlight

![](/files/-MfOFJboXSUzqjjWg_mx)

Select App Store Connect as distribution method

![](/files/-MfOFSegSP06gXxVtges)

![](/files/-MfOFhTBM7ePJ7W6FXKI)

Here, you can create a new Certificate to sign your app.

> If you do that, please export that certificate with private key to a .p12 file. This is needed in App Center to sign your apps.

![](/files/-MfOFvI27AmBh_2i30JS)

![](/files/-MfOG3SqWuwS0pGyWmJg)

![](/files/-MfOGCIxZ48TuNTPa91w)

This is how simple it is to build and release iOS apps created using Flutter. In iOS application you will need to be very careful with signing Certificate and provisioning profile. If you loose it, there is no way to build and release new version of application. This is a manual process, every time you make changes in app, you need to follow same process to upload new version in App Store.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://positifmobile.gitbook.io/flyweb/installation-mobile-app/ios-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
