Halal Pairs - A muslims matrimony app
Setup firebase for iOS
Setup firebase for iOS
How to Configure an iOS App with Firebase
Step-by-Step Guide
- Create a Firebase Project:
Go to Firebase Console, click on Add project, and follow the prompts. - Register Your iOS App:
In the Firebase project dashboard, click the iOS icon to add a new app.
Enter your app’siOS bundle ID(e.g.,com.example.myapp). You may optionally set the app nickname and App Store ID. - Download
GoogleService-Info.plist:
After registering the app, download theGoogleService-Info.plistfile.
Add it to your Xcode project by dragging it into the project navigator. - Install Firebase SDK:
Open your project’sPodfileand add Firebase dependencies. For example:
Then run:pod 'Firebase/Core'pod install - Initialize Firebase in Your App:
OpenAppDelegate.swiftand import Firebase:
Then initialize it in theimport Firebaseapplication(_:didFinishLaunchingWithOptions:)method:FirebaseApp.configure() - Build and Run:
Open the.xcworkspacefile in Xcode.
Build and run the app to verify Firebase is correctly configured.
Note: For using additional Firebase services like Analytics, Firestore, or Auth, include the respective pods and follow their specific setup instructions.