【问题标题】:Unity + Firebase + iOS = errorUnity + Firebase + iOS = 错误
【发布时间】:2018-04-10 09:43:19
【问题描述】:

我需要帮助。
Unity 5.6
添加 Firebase sdk(组件 FirebaseAnalytics.unitypackage 和 FirebaseRemoteConfig.unitypackage)

我在 xCode 中有一个错误。

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_FIRAnalytics", referenced from: objc-class-ref in libAnalytics.a(analytics_ios_9d78633b4a8aa3f633f0c68e9cb50efd.o) "_OBJC_CLASS_$_FIRAnalyticsConfiguration", referenced from: objc-class-ref in libAnalytics.a(analytics_ios_9d78633b4a8aa3f633f0c68e9cb50efd.o) "_OBJC_CLASS_$_FIRApp", referenced from: objc-class-ref in libApp.a(app_ios_c76c7d869e568a9b561ea55e25a7dcc0.o) "_OBJC_CLASS_$_FIROptions", referenced from: objc-class-ref in libApp.a(app_ios_c76c7d869e568a9b561ea55e25a7dcc0.o) "_OBJC_CLASS_$_FIRRemoteConfigSettings", referenced from: objc-class-ref in libRemoteConfig.a(remote_config_ios_53531e292e202c8e07f4ebe5b73bbec1.o) "_OBJC_CLASS_$_FIRRemoteConfig", referenced from: objc-class-ref in libRemoteConfig.a(remote_config_ios_53531e292e202c8e07f4ebe5b73bbec1.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我不了解 Cocoapods,但我认为 Unity 必须完成我所有的工作。 我使用了此页面的说明: https://firebase.google.com/docs/unity/setup

我什至不明白这个错误是什么意思 - xCode 找不到 Firebase Anlitics 模块?为什么?

谢谢!

【问题讨论】:

  • 请在你的问题中使用一些code highlighting ..这样读起来很难。

标签: ios xcode firebase unity3d


【解决方案1】:

我在 iOS 中将图像上传到 Firebase,但出现错误:Firebase.Storage.StorageException: No object exists at the desired reference 我在mac上测试得很好,但在iphone上没有。

【讨论】:

    【解决方案2】:

    毕竟我通过从官方网站手动将firebase框架添加到资产文件夹来解决这个问题 \Assets\Plugins\iOS\Firebase

    而且我不知道为什么 unity 不能自己做。

    谢谢大家!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-15
      相关资源
      最近更新 更多