iOS Unity Firebase Messenger Xcode编译错误:FIRDynamicLinks [英] iOS Unity Firebase Messenger Xcode Compile Error: FIRDynamicLinks

查看:177
本文介绍了iOS Unity Firebase Messenger Xcode编译错误:FIRDynamicLinks的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Unity 2018.4.2构建-Xcode 10.2-最新的iOS目标 适用于.Net 4的Unity最新Firebase(6.1.1)

Building with Unity 2018.4.2 - Xcode 10.2 - Latest iOS Targets Firebase Latest (6.1.1) for Unity with .Net 4

对于Firebase,我们使用以下统一软件包: -FirebaseMessaging.unitypackage -FirebaseAnalytics.unitypackage

For Firebase We are using the following unity packages: - FirebaseMessaging.unitypackage - FirebaseAnalytics.unitypackage

在Xcode中获取以下构建错误:

Get the following Build Error in Xcode:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FIRDynamicLinks", referenced from:
      objc-class-ref in libFirebaseCppApp.a(invites_receiver_internal_ios_aa7b75b2efc3269e88f1077e55250e5a.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

在另一台机器上,同样的错误是armv7目标:

On another Machine same error however armv7 target:

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_FIRDynamicLinks", referenced from:
      objc-class-ref in libFirebaseCppApp.a(invites_receiver_internal_ios_aa7b75b2efc3269e88f1077e55250e5a.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

经过测试的解决方案(尚无解决方案)

Tested Solutions (no solution yet):

  • 对框架的Obj-C(已经存在)
  • 将可可豆荚更新为最新
  • 已删除的Developer/Xcode/DerivedData
  • 更新了可可豆荚并删除了缓存

最奇怪的是,此操作仅在星期一开始,之前一直在工作,没有其他更改,因此这导致人们相信这是Google在其Cocoa pods库中进行了更改,它再次链接了另一个未包含的软件包现在.

The strangest thing is this only started happening on Monday, previously was working, nothing else was changed, so this leads to believe this is Google changed something in their Cocoa pods library which is linking agains't another package which is not included now.

项目的同一Android变体中不会出现问题.

推荐答案

解决方案:

现在,您还需要包括并安装Firebase:DynamicLinks,以便针对iOS进行编译.

It now requires you to also include and install Firebase: DynamicLinks in order to compile for iOS.

  • FirebaseDynamicLinks.unitypackage

因此,从Firebase Unity下载中将以下软件包安装到您的unity项目中.

So install the following package into your unity project from the download of Firebase Unity.

这篇关于iOS Unity Firebase Messenger Xcode编译错误:FIRDynamicLinks的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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