Firebase更新后,Xcode中架构x86_64的未定义符号 [英] Undefined symbols for architecture x86_64 in Xcode after Firebase update

查看:202
本文介绍了Firebase更新后,Xcode中架构x86_64的未定义符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更新了FirebaseUI到最新版本,并更新了TwitterCore 3.0.0(2.8.0),因为我得到这个编译器错误在Xcode:

<$ p
$ _ $ $ $ $





$ TW $ s)找不到架构x86_64
clang:error:linker命令失败,退出代码1(使用-v查看调用)

即使没有明确写入我的Podfile中,我目前仍然恢复到之前版本的TwitterCore。我写了 pod'TwitterCore','〜> 2.8.0'

解决方案

我已经修复了TwitterCore> 3.0.0对于FirebaseUI> 3.0.0或更新pod有问题

  pod'FirebaseUI' 
pod'TwitterCore','< = 2.8.0'#fixed

祝您好运

I updated FirebaseUI to the newest version, and that updated TwitterCore 3.0.0 (was 2.8.0), ever since I get this compiler error in Xcode:

Undefined symbols for architecture x86_64:
  "_TWTRIdentifierForAdvertising", referenced from:
      +[TWTRCardConfiguration deviceID] in TwitterKit(TWTRCardConfiguration.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I currently reverted back to the previous version of TwitterCore even though it wasn't explicitly written in my Podfile. I wrote pod 'TwitterCore', '~>2.8.0'

解决方案

I have fixed TwitterCore >3.0.0 is problem for FirebaseUI > 3.0.0 or update pod

pod 'FirebaseUI'
pod 'TwitterCore', '<=2.8.0' # fixed

Good luck

这篇关于Firebase更新后,Xcode中架构x86_64的未定义符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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