未找到框架GoogleToolboxForMac [英] Framework not found GoogleToolboxForMac

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

问题描述

当我通过pod更新更新我的Firebase后,出现如下错误:

  ld:warning:directory not找到选项'-F / Users / bennysantoso / Library / Developer / Xcode / DerivedData / FCM-atfcxuircoryufazlomgwfgmvaqm / Build / Products / Debug-iphonesimulator / GoogleToolboxForMac'
ld:框架未找到GoogleToolboxForMac
clang:error :链接器命令失败,退出代码1(使用-v来查看调用)

/ b>

 #取消注释此行为您的项目定义全球平台
#platform:ios,'9.0'
pod'Firebase / Core'
pod'Firebase / Messaging'

target'BB'do
#如果您不使用Swift而不想使用动态框架
use_frameworks!

#豆荚BB

目标'BBTests'做
继承! :search_paths
#用于测试的单元
结束

目标'BBUITests'做
继承! :search_paths
#用于测试的单元
结束
$ b结束

有人知道这个错误吗?

我找出GoogleToolboxForMac和Firebase的关系,但我只是获得一点信息。 b

仅供参考,我使用的是Swift 2.3和Firebase 3.8.0。

我将非常感谢您提供的帮助。谢谢!

解决方案

我有同样的错误。一旦安装了pod,就会看到以下消息。


[!]请关闭任何当前的Xcode会话并使用MyApp.xcworkspace



我没有注意到这是第一次,并试图建立项目使用常规xcodeproj文件。当我看到这个消息后,我打开了正确的项目,它工作正常。

一旦你打开这个项目,你会注意到你有两个子项目。一个是你的项目,另一个是Pods项目。


After I update my Firebase via "pod update", I got error like this :

ld: warning: directory not found for option '-F/Users/bennysantoso/Library/Developer/Xcode/DerivedData/FCM-atfcxuircoryufazlomgwfgmvaqm/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
ld: framework not found GoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Here my Podfile :

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
pod 'Firebase/Core'
pod 'Firebase/Messaging'

target 'BB' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for BB

  target 'BBTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'BBUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

Does anybody know about this error?

I seek out relationships GoogleToolboxForMac and Firebase, but I just get a little bit of information.

FYI, I use Swift 2.3 and Firebase 3.8.0.

I will be grateful for any help you can provide. Thanks!

解决方案

I had the same error. Once you install the pods, you'll see the following message.

[!] Please close any current Xcode sessions and use MyApp.xcworkspace for this project from now on.

I didn't notice this for the first time and was trying to build the project using the regular xcodeproj file. After I saw this message, I opened the right project and it worked fine.

Once you open this project you'll notice that you have two subprojects. One would be your project, and another would be the Pods project.

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

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