problems installing firebase pods - firebase

When I attempted to install the pod after modifying and saving the profile file this is what I get (info from terminal window):
Scotts-Mac:SDADishApp Scott$ pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use SDADishApp.xcworkspace for this project from now on.
Sending stats
Pod installation complete! There are 0 dependencies from the Podfile and 0 total
pods installed.
[!] The Podfile does not contain any dependencies.
Scotts-Mac:SDADishApp Scott$
Could you please tell me what I did wrong? And how to correct it? There should be dependencies and pods installed.

Related

cannot run the flutter app after firebase connection

After i added the GoogleService-Info.plist file to Runner on xcode, I get this error.
(I work on an M1 Chip MacBook Air)
I uninstalled each cocoapods version, and installed again using the ARM version (sudo arch -x86_64 gem install cocoapods).
But nothing changed.
Edit: Just tried the pod install method inside the ios folder and this is what happened;
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "cloud_firestore":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)
Specs satisfying the `cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)` dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
you need first to upgrade your package by write "pub upgrade" command
after it try to update podfile as below setups :
inside terminal move to ios folder "cd ios"
enter "pod update" command
if above point not working try "pod install" command
Final edit: I solved it thanks to this issue. The problem was that there's no Podfile.lock in the /ios folder.

CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile

I am using react-native to build an app, I get the below error when I do pod install.
The below is the complete error.
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In Podfile:
RNFBApp (from `../node_modules/#react-native-firebase/app`) was resolved to 12.4.0, which depends on
Firebase/CoreOnly (= 8.4.0)
None of your spec sources contain a spec satisfying the dependency: `Firebase/CoreOnly (= 8.4.0)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
I had the same issue and I just ran pod install --repo-update in my ios folder and it worked for me.

updating firebase using expo client

I am working on a react native app, I use firebase, I recently updated expo, and when I use this command expo start, everything works but I get this message on the logs:
Some of your project's dependencies are not compatible with currently installed expo package version:
- firebase - expected version range: 7.9.0 - actual version installed: ^8.2.0 Your project may not work correctly until you install the correct versions of the packages. To install the correct versions of these packages, please run: expo install [package-name ...] Starting Metro Bundler
when use expo install firebase i get the following error:
Installing 1 SDK 37.0.0 compatible native module using Yarn.
> yarn add firebase#7.9.0
'yarnpkg' is not recognized as an internal or external command,
operable program or batch file.
spawn yarnpkg ENOENT
Error: spawn yarnpkg ENOENT
how can I correctly update firebase?
first do
npm install yarn -g
after that is complete
then do
yarn add firebase#7.9.0

I am unable to install the firebase cocoa pod on my Mac

I am trying to install the above pods but I am getting an error during the installation of firebase.
I cannot understand the error that it is giving.
error:
I don't understand what is above error is referring to and why it says anaconda3 I am not using anaconda anywhere for this code.
as suggested in some answers provided to similar problems I tried
pod repo remove master
and then:
pod setup
but it did not resolve the problem .
Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'Flash Chat' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Flash Chat
pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'SVProgressHUD'
pod 'ChameleonFramework'
end
(base) Sarthaks-Air:Flash_Chat sarthakdandriyal$ pod install
Analyzing dependencies
Downloading dependencies
Installing ChameleonFramework (2.1.0)
Installing Firebase (6.3.0)
[!] Error installing Firebase
[!] /Users/sarthakdandriyal/anaconda3/bin/curl -f -L -o /var/folders/1f/3fld6d6d3dxfdx2mf363_wxm0000gn/T/d20190620-6634-xjii3m/file.tgz https://dl.google.com/dl/cpdc/f64cf2cc2acbf58d/Firebase-6.3.0.tar.gz --create-dirs --netrc-optional --retry 2
dyld: Library not loaded: #rpath/libssl.1.0.0.dylib
Referenced from: /Users/sarthakdandriyal/anaconda3/lib/libssh2.1.dylib
Reason: image not found
I am using Xcode 9.4 could that be reason for this error?
Running conda install libssh2 solved the problem for me.

meteor requires npm install on each new machine

I just cloned my meteor github repo to a new machine and now I have to npm install some packages again. I thought that they are part of the meteor app once I have them installed. (and I checked. they are in the node_modules folder and listed in the packages.json). Nonetheless, I get the error:
Can't find npm module 'react'. Did you forget to call 'Npm.depends' in package.js witin the 'modules-runtime'package?
I am running meteor 1.3.1

Resources