2

I am using Xcode 8.2.1, Swift 3, and IOS 10.2 (for iphone simulator). I am trying to follow this tutorial https://www.raywenderlich.com/139322/firebase-tutorial-getting-started-2

I have not gotten to the Firebase stuff. Right now I am just trying to build and compile the starter code.

The starter Podfile looks like this:

inhibit_all_warnings!

pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Auth'

When I run pod install, I get

Re-creating CocoaPods due to major version update.
Analyzing dependencies
[!] The dependency `Firebase/Core` is not used in any concrete target.
The dependency `Firebase/Database` is not used in any concrete target.
The dependency `Firebase/Auth` is not used in any concrete target.

What should I do to fix this?

kevin_b
  • 803
  • 4
  • 16
  • 34

3 Answers3

9

this might works for you

target "TARGET_NAME" do
   pod 'Firebase/Core'
   pod 'Firebase/Database'
   pod 'Firebase/Auth'
end
Kuntal Gajjar
  • 792
  • 6
  • 12
0

Here is my podfile for Firebase:

platform :ios, '7.0'
pod 'Firebase/Database'
pod 'FirebaseUI'
JJJ
  • 32,902
  • 20
  • 89
  • 102
Loren Rogers
  • 325
  • 3
  • 13
0

It's caused by not specifying the target. You have to add the target "your target name" in Podfile.

LF00
  • 27,015
  • 29
  • 156
  • 295