未找到Firebase框架 [英] Firebase framework not found

查看:208
本文介绍了未找到Firebase框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我觉得我差不多在那里,但是我被卡在了:


ld:未找到框架架构x86_64的Firebase
错误:链接器命令失败,退出代码1(使用-v查看调用)


我试图用我的app.xcworkspace进行编译,项目如下所示:



谢谢你的回答。 b $ b

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:

Also:

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"

解决方案

Just found the answer. Seems like I had an old geofire version and the new one is not available as a Pod yet...

Github Issue link

Thank you for your answers guys.

这篇关于未找到Firebase框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆