# iOS Setup Instructions

## iOS Setup Instructions

Required cocoapods version:\
**cocoapods 1.11.3**\
Required Xcode version:\
**Xcode** **Version 14.0.1**

**1.Ios Setup Steps:**

Please check these files if any of these you found missing Add Required files to Runner

* **GoogleService-Info.plist** ( if this file exists then you have to remove and add your GoogleService-Info.plist downloaded from firebase )
* **Runner-Bridging-Header.h** ( if this file not exists then right click on Runner in Project Navigation bar then click on New File select Header File and rename with Runner-Bridging-Header )
* **File.swift**  (if this file not exists then right click on Runner in Project Navigation bar then click on New File select Swift File and rename with file )

**2.Add Target for one signal Notification**

* For this follow instructions from: [**https://documentation.onesignal.com/docs/flutter-sdk-setup**](https://documentation.onesignal.com/docs/flutter-sdk-setup)

[Flutter SDK Setup](https://documentation.onesignal.com/docs/flutter-sdk-setup)\
\
**3**.**Deployment Target should be 12.0 in Runner and Target**

Then run APP after setup everything Display Name, Bundle Identifier, Version and Build.\
For Test On real Device You Need Apple Developer Account subscription.\
\
**If Your Build Faild after Run App then try after run these commands:**

* pod deintegrate
* pod install
* pod repo update
* cd ..
* flutter clean
* flutter pub get
* cd ios
* pod install

**4.  After That Run These Commands in Project directory.**

* flutter clean
* flutter pub get
* cd ios
* pod install --repo-update
