> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS

> Set up iOS dependencies for the MoEngage React Native SDK with Turbo architecture support.

<Info>
  Due to the recent [CocoaPods Specs Repo deprecation](https://blog.cocoapods.org/CocoaPods-Specs-Repo/), you must explicitly define your dependency sources to ensure your project builds successfully.

  Please add the following lines at the very top of your `Podfile`, above any `target` blocks:

  ```ruby Ruby theme={null}
  source 'https://github.com/moengage/PodSpecs.git'
  source 'https://github.com/CocoaPods/Specs.git'
  ```

  <ul><li>MoEngage Source is required to successfully resolve and fetch MoEngage-specific SDK pods.</li><li>CocoaPods Source is required to ensure all your other standard third-party React Native dependencies continue to resolve correctly.</li></ul>

  After adding these lines to your `Podfile`, run the following command from your ios directory:

  ```bash Bash theme={null}
  pod install --repo-update
  ```
</Info>

We now offer support for turbo architecture starting from version 10.0.0.

To run the application in the  new architecture, follow these steps:

1. Navigate to the iOS folder.
2. Run the command ***RCT\_NEW\_ARCH\_ENABLED=1 bundle exec pod install*** to install the necessary dependencies.

To run the application in the old react architecture, follow these steps:

1. Navigate to the iOS folder.
2. Run the command ***pod install*** to install the necessary dependencies
