Closed
Description
Issue
After upgrading react-native-firebase
from 11.3.3 to 11.4.1, I started getting the following build error in XCode (both 12.4 & 12.5)
error: Multiple commands produce '<path>/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement':
1) That command depends on command in Target 'GoogleAppMeasurement' (project 'Pods'): script phase “[CP] Copy XCFrameworks”
2) That command depends on command in Target 'GoogleAppMeasurement-AdIdSupport' (project 'Pods'): script phase “[CP] Copy XCFrameworks”
Project Files
Javascript
N/A
package.json
:
"@react-native-firebase/admob": "11.4.1",
"@react-native-firebase/analytics": "11.4.1",
"@react-native-firebase/app": "11.4.1",
"@react-native-firebase/auth": "11.4.1",
"@react-native-firebase/crashlytics": "11.4.1",
"@react-native-firebase/perf": "11.4.1",
"@react-native-firebase/storage": "11.4.1",
firebase.json
for react-native-firebase v6:
# N/A
iOS
Click To Expand
ios/Podfile
:
- I'm not using Pods
- I'm using Pods and my Podfile looks like:
Use RN auto link
AppDelegate.m
:
N/A
Android
N/A
Environment
Click To Expand
react-native info
output:
info Fetching system and libraries information...
System:
OS: macOS 11.2.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 486.53 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.16.1 - /var/folders/mj/nctx1fsn2cg7rdssx505z4pr0000gn/T/yarn--1619907559863-0.7526749377860467/node
Yarn: 1.22.0 - /var/folders/mj/nctx1fsn2cg7rdssx505z4pr0000gn/T/yarn--1619907559863-0.7526749377860467/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 23, 27, 28, 29
Build Tools: 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2, 31.0.0
System Images: android-22 | Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_271 - /usr/bin/javac
Python: 3.7.10 - /Users/marslan/.pyenv/shims/python
npmPackages:
@react-native-community/cli: 4.14.0 => 4.14.0
react: 16.13.1 => 16.13.1
react-native: 0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
- Platform that you're experiencing the issue on:
- iOS
- Android
- iOS but have not tested behavior on Android
- Android but have not tested behavior on iOS
- Both
react-native-firebase
version you're using that has this issue:- 11.4.1
Firebase
module(s) you're using that has the issue:- Analytics (I assume)
- Are you using
TypeScript
?- Y (but irrelevant)
- 👉 Check out
React Native Firebase
andInvertase
on Twitter for updates on the library.