Firebase Integration with Flutter targeting IOS
Preparation
update all the following to the latest
Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
CocoaPods
brew install cocoapods
Enabling IOS DebugView on Xcode
- Open your Xcode project.
- Go to the "Product" menu in the menu bar and select "Scheme" > "Edit Scheme".
- In the left pane of the Scheme Editor window, select "Run".
- Select the "Arguments" tab.
- In the "Arguments Passed On Launch" section, click on the "+" button to add a new argument.
- Add -FIRDebugEnabled as the new argument.
- Click "Close" to save the changes and close the Scheme Editor.
- Build and run your app on the development device.
"arm64" will show up on the Debug Device dropdown in the Firebase Dashboard
Error: ...cannot load such file -- xcodeproj (LoadError)
gem install xcodeproj
Change of Connecting Firebase Project
remove existing GoogleService-info.plist