为了账号安全,请及时绑定邮箱和手机立即绑定

找不到框架GoogleToolboxForMac

找不到框架GoogleToolboxForMac

翻翻过去那场雪 2019-12-27 09:30:58
通过“ pod update”更新Firebase后,出现如下错误: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 GoogleToolboxForMacclang: error: linker command failed with exit code 1 (use -v to see invocation)这是我的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  endend有人知道这个错误吗?我寻找GoogleToolboxForMac和Firebase的关系,但是我只获得了一些信息。仅供参考,我使用Swift 2.3和Firebase 3.8.0。感谢您提供的任何帮助。谢谢!
查看完整描述

3 回答

?
慕田峪9158850

TA贡献1794条经验 获得超7个赞

我有同样的错误。安装Pod后,您将看到以下消息。

[!]从现在开始,请关闭任何当前的Xcode会话,并为此项目使用MyApp.xcworkspace。

我第一次没有注意到这一点,而是试图使用常规的xcodeproj文件来构建项目。看到此消息后,我打开了正确的项目,它运行正常。

打开此项目后,您会注意到您有两个子项目。一个是您的项目,另一个是Pods项目。


查看完整回答
反对 回复 2019-12-27
?
慕哥6287543

TA贡献1831条经验 获得超10个赞

就我而言,所有集成都做得很好,并且确实尝试了很多次来删除并重新安装Pod,但是没有成功。

最后尝试以下步骤

Projetc->管理方案->选中复选框“ Pods-MyProjectName”

并获得成功。


查看完整回答
反对 回复 2019-12-27
  • 3 回答
  • 0 关注
  • 540 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信