-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Issue
The issue is described here: expo/expo#35800 but occurs without expo, which leads me to believe it is a Firebase React Native issue.
I get the error following these exact instructions (exception using pnpm) on the NON-EXPO instructions:
https://rnfirebase.io/
The issue arises on this section:
https://rnfirebase.io/#altering-cocoapods-to-use-frameworks
Project Files
Everything is the bog standard installation:
use_frameworks! :linkage => :static
$RNFirebaseAsStaticFramework = true
the particularly offending lines of code in the Podfile.
When replaced with:
$RNFirebaseAsStaticFramework = true
pod 'Firebase', :modular_headers => true
pod 'FirebaseCoreInternal', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
pod 'FirebaseRemoteConfig', :modular_headers => true
pod 'FirebaseABTesting', :modular_headers => true
pod 'FirebaseRemoteConfigInterop', :modular_headers => true
pod 'FirebaseSharedSwift', :modular_headers => true
pod 'FirebaseSharedSwift', :modular_headers => true
pod 'FirebaseInstallations', :modular_headers => true
Everything builds correctly.
Versions
I'm using pnpm to install.
The only deps are:
"@react-native-firebase/app": "^22.2.0",
"react": "19.0.0",
"react-native": "0.79.0"
Xcode version: Version 16.4 (16F6)
Xcode CLI version: version: 16.2.0.0.1.1733547573
Device
macOS 15.3
M3 Pro
MatthewRamsey and timlenaers