Comments (15)
I fixed it by updating the FireCore version to 5.0.1 (in PodFile .. 'Firebase/Core', '~> 5.0.1'). It seems related to this issue on RNFirebase itself: invertase/react-native-firebase#1110
from react-native-firebase-starter.
@Salakar I followed the instructions step by step and made sure that I placed all of the files accordingly, but I still get this error.
Installing build/Build/Products/Debug-iphonesimulator/test.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/test.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
I have not changed anything, just cloned the starter-kit and followed the steps.
Only odd thing i have noticed is that during npm install 1022 vulnerabilities (966 low, 45 moderate, 11 high) have been found. Has that something to do with it?
I really need some help solving this issue! Thanks!
from react-native-firebase-starter.
I followed the readme just now so my git clone should be master already. I can see my package.json
is using Firebase 5.3.0. However I'm still getting the "Entry, ":CFBundleIdentifier", Does Not Exist" error.
** BUILD FAILED **
...
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not ExistCommand failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MyApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Existerror Command failed with exit code 1.
from react-native-firebase-starter.
@henrylearn2rock also make sure you have added your Firebase google-services plist file in the correct place for iOS as per the readme - this error is common when the file isn't found
from react-native-firebase-starter.
@sdb1228 any progress to this? I encounter the same problem.
from react-native-firebase-starter.
Same problem -- any solutions?
from react-native-firebase-starter.
@mortenmo you're a hero!
from react-native-firebase-starter.
Sorry for no update on this. I ended up just configuring firebase manually I will see if I can submit a pull request to fix this issue.
from react-native-firebase-starter.
^ should hopefully fix your problems. If not I would try to manually add firebase to your project rather than using the starter project.
from react-native-firebase-starter.
Cool!
from react-native-firebase-starter.
It's work for me:
In my project package.json had follow dependency:
"react-native-firebase": "^4.0.0",
But, when i ran yarn install
, I saw in yarn.lock
after installation, then was installed version 4.2.0
And reviewing changelog
[https://github.com/invertase/react-native-firebase/releases]
4.2 supports v5+ of the Firebase iOS pods which contained a number of breaking changes"
the same for android
Then I updated package.json
to:
"react-native-firebase": "^4.0.3",
Maybe it is usefull to someone
from react-native-firebase-starter.
React Native Firebase v4.3.x support is now on master, which should cover this - will close this issue now. Thanks for the feedback.
Loving react-native-firebase
and the support we provide? Please consider supporting us with any of the below:
- 👉 Back financially via Open Collective
- 👉 Follow
React Native Firebase
andInvertase
on Twitter - 👉 Star this repo on GitHub ⭐️
from react-native-firebase-starter.
I have been struggling with this issue across multiple projects. After diving deeper into CocoaPods I found a solution that worked for me:
git clone https://github.com/invertase/react-native-firebase-starter
npm install
npm run rename
cd ios
pod repo update
pod install
cd ..
- Add Google-Info.plist to ios/
- Add google-services.json to android/app
npm run ios
from react-native-firebase-starter.
I'm also having this problem. The above didn't work for me unfortunately. Things seem to be OK for the Android build though. I also had a similar, perhaps linked, issue to #68 that I got past using @zxonline's solution from that thread. Exact error when running npm run rename
was:
[replaceInFile] Error occurred: { [Error: ENFILE: file table overflow, open './ios/Pods/Headers/Private/Protobuf/GPBExtensionInternals.h']
so I'm wondering if somehow that failure in ios/Pods
screwed things up for me? (the suggested fix was to remove Pods
so the rename
would work, then pods install
again afterwards.
Alas, I'm still too much of a n00b on iOS stuff to properly diagnose. If I can give any further info to someone who can, I'm happy to though!
This is with the latest 5.1.1 version btw
from react-native-firebase-starter.
Worked for me "Move your config file into the root of your Xcode project. If prompted, select to add the config file to all targets." after generating the googleservice.info.plist. I had put mine in ios/projectName but moved it to ios/ and it's working.
from react-native-firebase-starter.
Related Issues (20)
- CocoaPods could not find compatible versions for pod "Crashlytics" HOT 1
- rename doesnt accept arabic letters HOT 1
- Can't run on Android HOT 8
- can't sign CLA to complete pull request HOT 1
- upgrade to react-native 0.60.3 HOT 10
- NPM Install Error HOT 3
- Getting ld: library not found for -lRCTGeolocation error: linker command failed with exit code 1 (use -v to see invocation) HOT 1
- Uncommenting pod 'Firebase/AdMob', '~> 6.3.0' causes failure HOT 5
- Compilation failed HOT 3
- Unable to run npm run iOS HOT 6
- No bundle URL present. HOT 3
- error using react-native run-android command. I already changed everything in the documentation and it continues HOT 7
- Premium Version on SugarKubes?
- Receiving error: package android.support.multidex does not exist HOT 3
- Getting error app:validateSigningDebug. HOT 2
- Do you guys need help migrating to rnf 6.0? HOT 4
- Dead link to new project guide HOT 3
- Readme link to new project is broken HOT 1
- [FIRApp configure] use of undeclared identifier firapp HOT 1
- This starter is not being maintained.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-firebase-starter.