This project uses Firebase for authentication and backend services. You'll need to set up your own Firebase project.
-
Create a Firebase Project
- Go to Firebase Console
- Click "Add project" and follow the setup wizard
- Enable the following services:
- Authentication (Google Sign-In, Sign in with Apple)
- Firestore Database
- Analytics (optional)
-
Download Configuration File
- In Firebase Console, go to Project Settings
- Under "Your apps", select iOS app (or add one)
- Download
GoogleService-Info.plist - Place it in the
starving/directory (same level asInfo.plist)
-
Configure Authentication Providers
-
Google Sign-In:
- In Firebase Console > Authentication > Sign-in method
- Enable Google provider
- Add your app's Bundle ID
-
Sign in with Apple:
- Enable Apple provider in Firebase Console
- Configure Apple Developer account with Sign in with Apple capability
- Add the capability in Xcode
-
-
Security Note
- NEVER commit
GoogleService-Info.plistto git - This file is already in
.gitignore - Keep your API keys secure and private
- NEVER commit
Install project dependencies:
cd /path/to/starving
pod installAlways open starving.xcworkspace (not .xcodeproj) after installing pods.
- Open
starving.xcworkspacein Xcode - Select a simulator or connected device
- Build and run (⌘R)
- Build errors: Clean build folder (⌘⇧K) and rebuild
- Pod issues: Run
pod deintegrate && pod install - Firebase issues: Verify
GoogleService-Info.plistis in the correct location