Top

Documentation
person
mobile tag

Ios Setup:


  1. Open the project folder in VS Code or Android studio, In the terminal, run following command:

  2. flutter clean

    flutter pub get

  3. Navigate to your project's iOS folder by opening the terminal and entering cd ios, then execute the provided commands to build your app.

  4. cd ios

    pod install --repo-update

  5. Drag & Drop the ios folder in Xcode & then perform the below steps:
    1. Open Xcode,Right click on runner > Add files to runner, then select the GoogleServices-Info.plist
    2. Check if all the app name, package name, version is correct in the General Section & Make sure your bundle name is showing correct in Info section in the Xcode.
    3. Navigate to Signing & Capabilities, select or add the team & bundle identifier. Also make sure, background fetch & Remote notification is ticked in the Background Modes & Push notification is also enabled.
    4. Click on Product > Build from the top menu bar (or use the shortcut Cmd + B).
    5. Wait for Xcode to build the project. A progress bar will appear in the top status area.


    6. Once the build is successful, you'll see a message in the Xcode status bar that says Build Succeeded.
    7. Click the Run button (a triangle ▶️) in the top-left corner or go to Product > Run.
  6. If you encounter an error while building, try the following steps:
    1. Quit Xcode
    2. Open the programming IDE(For Eg. Android Studio or Visual Studio) you're using.
    3. Remove the ".symlinks" and "Pods" folders, along with the "Podfile.lock" file, from the "ios" directory of your project.
    4. Open the terminal and execute the command below:

    flutter clean

    flutter pub get

    cd ios

    pod install --repo-update

  7. After completing the pod update process, click the "Open iOS module in Xcode" button in the Podfile, or alternatively, drag and drop the ios folder into Xcode and follow the steps outlined in step 3.