question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Firebase (~> 3.3.0)` required by `Podfile`

See original GitHub issue

I am tns version 2.1.1. Was trying to build using tns build ios and got this error -

$ tns build ios Executing before-prepare hook from /Users/jahid/Development/temp/native_script/ns-learning/hooks/before-prepare/nativescript-dev-typescript.js Found peer TypeScript 1.8.10 The depedency located at /Users/jahid/Development/temp/native_script/ns-learning/node_modules/@angular/platform-server/node_modules/parse5 with version 1.3.2 will be replaced with dependency located at /Users/jahid/Development/temp/native_script/ns-learning/node_modules/nativescript-angular/node_modules/parse5 with version 1.4.2 Successfully prepared plugin nativescript-angular for ios. Successfully prepared plugin nativescript-intl for ios. Successfully prepared plugin nativescript-plugin-firebase for ios. Successfully prepared plugin tns-core-modules for ios. The iOS Deployment Target is now 8.0 in order to support Cocoa Touch Frameworks. Successfully prepared plugin tns-core-modules-widgets for ios. Installing pods… Analyzing dependencies [!] Unable to satisfy the following requirements:

  • Firebase (~> 3.3.0) required by Podfile

None of your spec sources contain a spec satisfying the dependency: Firebase (~> 3.3.0).

You have either:

  • out-of-date source repos which you can update with pod repo update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default. Processing node_modules failed. Error: Command sandbox-pod failed with exit code 1 Sending exception report (press Ctrl+C to stop)…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
shripalsoni04commented, Aug 9, 2016

I also got the exact same issue and I solved it by executing pod repo update command as it is said in error.

This command may take some time to complete. So please be patient.

Hope this will help.

0reactions
blaurcommented, Oct 17, 2016

Hi guys,

Did any of you see the following with the pod repo update? I do not seem to be able to get around it.

[!] /usr/bin/git fetch --unshallow

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly


/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/executable.rb:69:in `execute_command'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/executable.rb:27:in `block in executable'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:123:in `block in update_git_repo'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:161:in `info'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:122:in `update_git_repo'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.0.1/lib/cocoapods-core/source.rb:339:in `block in update'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.0.1/lib/cocoapods-core/source.rb:337:in `chdir'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.0.1/lib/cocoapods-core/source.rb:337:in `update'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.0.1/lib/cocoapods-core/master_source.rb:15:in `update'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:88:in `block (2 levels) in update'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:87:in `block in update'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:86:in `each'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/sources_manager.rb:86:in `update'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/command/repo/update.rb:23:in `run'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/claide-1.0.0/lib/claide/command.rb:334:in `run'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run'
/Users/user/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.0.1/bin/pod:55:in `<top (required)>'
/Users/user/.rvm/rubies/ruby-2.3.0/bin/pod:23:in `load'
/Users/user/.rvm/rubies/ruby-2.3.0/bin/pod:23:in `<main>'
/Users/user/.rvm/gems/ruby-2.3.0@global/bin/ruby_executable_hooks:15:in `eval'
/Users/user/.rvm/gems/ruby-2.3.0@global/bin/ruby_executable_hooks:15:in `<main>'
Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - CocoaPods could not find compatible versions for pod ...
Go to ios/Pods/Local Podspecs directory in your project · Check every json file to find highest required ios version. · Go back to...
Read more >
Firebase Apple SDK Release Notes - Google
0 - September 28, 2021. Analytics. Increased minimum required CocoaPods version to 1.10.2 to refactor AdSupport-related code ...
Read more >
Firebase Apple Open Source Development - CocoaPods
In order to run the sample apps and integration tests, you'll need a valid GoogleService-Info.plist file. The Firebase Xcode project contains dummy plist...
Read more >
iOS Installation - React Native Firebase
Follow the instructions to install Cocoapods and create your Podfile here. The Podfile needs to be initialised in the ios directory of your...
Read more >
Stuck with Podfile.lock on EAS build - Expo Forums
node_modules/expo-firebase-core/ios`) was resolved to 5.0.0, ... Versions in the Podfile.lock cached by EAS do not match required values for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found