# IOS

## **iOS Development Environment Setup**

{% hint style="info" %} <i class="fa-bullhorn">:bullhorn:</i> NOTE :\
Before launching the app, ensure you have correctly set up the ADMIN LARAVEL and have added all necessary data through the admin panel.
{% endhint %}

### **iOS Development Environment Setup**

Follow these steps to set up your iOS development environment:<br>

1. <mark style="color:$success;">**Install Xcode**</mark><br>

   Download and install the latest version of **Xcode**. The recommended version is **Xcode 16.1 or above**, as it includes important updates for iOS 15 development and modern tooling for SwiftUI.

   * [Xcode Download](https://developer.apple.com/xcode/)<br>
2. <mark style="color:$success;">**Install Command Line Tools**</mark><br>

   You'll need to install the Xcode command line tools. Open Terminal and run the following command:

   ```html
   xcode-select --install
   ```

   * [Xcode Command Line Tools Documentation](https://developer.apple.com/library/archive/technotes/tn2339/_index.html)<br>
3. <mark style="color:$success;">**Install CocoaPods**</mark><br>

   **CocoaPods** is a dependency manager for iOS. Install it using the following command in Terminal:<br>

   ```html
   sudo gem install cocoapods -v 1.16.2
   ```

   You may be prompted to enter your password since you're using **sudo.** Once the installation is complete, you can verify it by running:<br>

   ```html
   pod --version
   ```

   * [CocoaPods Setup Guide](https://guides.cocoapods.org/using/getting-started.html)<br>
4. <mark style="color:$success;">**Install Ruby**</mark><br>

   **Ruby** is required for CocoaPods installation. To install a specific version, use the following command:<br>

   ```html
   rbenv install 3.4.1
   ```

   Once installed, verify the Ruby version:<br>

   ```html
   ruby -v
   ```

   This will show the installed Ruby version (ensure it is the correct version for CocoaPods).<br>
5. <mark style="color:$success;">**Install Watchmen (Recommended Version : 2025.03.03.00)**</mark><br>

   **Watchmen** version **2025.03.03.00** is the recommended version. Install it using the following command:<br>

   ```html
   sudo gem install watchmen -v 2025.03.03.00
   ```

   Once the installation is complete, verify the version of Watchmen by running:<br>

   ```html
   watchmen --version
   ```
