Giter VIP home page Giter VIP logo

Comments (15)

mortenmo avatar mortenmo commented on August 22, 2024 8

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.

DatMoser avatar DatMoser commented on August 22, 2024 3

@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.

henrylearn2rock avatar henrylearn2rock commented on August 22, 2024 2

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 Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MyApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

error Command failed with exit code 1.

from react-native-firebase-starter.

Salakar avatar Salakar commented on August 22, 2024 1

@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.

donszek avatar donszek commented on August 22, 2024

@sdb1228 any progress to this? I encounter the same problem.

from react-native-firebase-starter.

nbatwara avatar nbatwara commented on August 22, 2024

Same problem -- any solutions?

from react-native-firebase-starter.

nbatwara avatar nbatwara commented on August 22, 2024

@mortenmo you're a hero!

from react-native-firebase-starter.

sdb1228 avatar sdb1228 commented on August 22, 2024

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.

sdb1228 avatar sdb1228 commented on August 22, 2024

^ 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.

Rpaixao avatar Rpaixao commented on August 22, 2024

Cool!

from react-native-firebase-starter.

mowbell avatar mowbell commented on August 22, 2024

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.

Salakar avatar Salakar commented on August 22, 2024

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:

from react-native-firebase-starter.

Cavallando avatar Cavallando commented on August 22, 2024

I have been struggling with this issue across multiple projects. After diving deeper into CocoaPods I found a solution that worked for me:

  1. git clone https://github.com/invertase/react-native-firebase-starter
  2. npm install
  3. npm run rename
  4. cd ios
  5. pod repo update
  6. pod install
  7. cd ..
  8. Add Google-Info.plist to ios/
  9. Add google-services.json to android/app
  10. npm run ios

from react-native-firebase-starter.

vonkanehoffen avatar vonkanehoffen commented on August 22, 2024

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.

anwarhamr avatar anwarhamr commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.