Firebaseui-ios: Unable to instal cocoapods

Created on 31 May 2017  路  6Comments  路  Source: firebase/FirebaseUI-iOS

Then try install pods via cocoapods 1.2.1. This is the output:

[!] Unable to find host target(s) for Database, Storage, Auth, Facebook, Google, Phone, Twitter. Please add the host targets for the embedded targets to the Podfile.
Certain kinds of targets require a host target. A host target is a "parent" target which embeds a "child" target. These are example types of targets that need a host target:

  • Framework
  • App Extension
  • Watch OS 1 Extension
  • Messages Extension (except when used with a Messages Application)

Most helpful comment

It doesn't help.

All 6 comments

This is a known bug in CocoaPods. You can work around it by using CocoaPods master (pre-release).

It doesn't help.

You'll need to specify CocoaPods from git source, not just using prerelease gems. Take a look at this Gemfile and have a look at the bundler docs if you're unfamiliar with bundler.

I really don't understand what we have to do here in order to make the pod install work. Install bundler?

Install bundler, run bundle install, and then prefix all your gem commands with bundle exec. So your pod install invocation should look like

bundle exec pod install

Upgrading to CocoaPods 1.3.0.beta.1 also worked for me.

Was this page helpful?
0 / 5 - 0 ratings