Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Firebase framework not found

I've been trying to migrate my project to cocoapods.

I feel like i'm almost there but I'm stuck in:

ld: framework not found Firebase for architecture x86_64 error: linker command failed with exit code 1 (use -v to see invocation)

I'm trying to compile using my "app.xcworkspace" and the project looks like this:

project navigator

Also:

libraries

I've tried starting other projects and firebase works there so it's a problem with THIS project settings... Any idea?

My podfile looks like this:

# Uncomment this line to define a global platform for your project
# platform :ios, ‘8.0’
target 'Parti' do
 # Comment this line if you're not using Swift and don't want to use dynamic frameworks
 use_frameworks!
 # Pods for Parti
 pod 'Firebase'
 pod 'Firebase/Storage'
 pod 'Firebase/Auth'
 pod 'Firebase/Database'
 target 'PartiTests' do
 inherit! :search_paths
 # Pods for testing
 end
 target 'PartiUITests' do
 inherit! :search_paths
 # Pods for testing
 end
end

It might be relevant to add that the error happens when xcode tries to "Link /Users/myname/Library/Developer/Xcode/DerivedData/Parti-gsdsljzobcnqjkgutfpjasgrsfck/Build/Products/Debug-iphonesimulator/Parti.app/Parti"

Answer*

Draft saved
Draft discarded
Cancel
2
  • Try and this Podfile and repeat step 3 Commented Jul 7, 2016 at 17:36
  • 4
    pod update && pod install worked for me, thanks :) Commented Apr 24, 2017 at 20:32

lang-swift

AltStyle によって変換されたページ (->オリジナル) /