[issues] No Firebase App [DEFAULT] has been created - call Firebase.initializeApp() [react-native]
์นดํ
๊ณ ๋ฆฌ : Issues
ํ๊ทธ: issue · react-native · Xcode · issues · No Firebase App [DEFAULT] has been created - call Firebase.initializeApp() · ์๋ฌ
ํ๊ทธ: issue · react-native · Xcode · issues · No Firebase App [DEFAULT] has been created - call Firebase.initializeApp() · ์๋ฌ
๋ฒ์
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M2 Pro
Memory: 89.41 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.15.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 9.5.0
path: /usr/local/bin/npm
Watchman:
version: 2023.07.24.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /Users/abel/.gem/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.11
path: /usr/bin/javac
Ruby:
version: 2.7.4
path: /Users/abel/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
์๋ฌ ์ฝ๋
****No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()****
๋ฐ์ ์์ธ
Firebase ์ถ๊ฐ ํ ์ด๊ธฐ์ค์ ์๋ฌ
ํด๊ฒฐ
- AppDelegate.mm
//FireBase ์ถ๊ฐ
#import <Firebase.h>
// ํ์ด์ด๋ฒ ์ด์ค ์ด๊ธฐ๊ฐ ์ค์ ์ถ๊ฐ
if ([FIRApp defaultApp] == nil) {
[FIRApp configure];
}