我将 Unity 2019.12 上的 Android 应用升级到 2020.1。使用 Unity 2019,Firebase 可以正常工作。但是对于 Unity 2020,我有 2 个错误。我不使用IOS,只使用Android。如何解决这个问题?
谢谢。
Assembly 'Assets/Firebase/Editor/Firebase.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Assembly 'Assets/PlayServicesResolver/Editor/Google.IOSResolver_v1.2.135.0.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
最佳答案
我在启用 iOS 构建支持的情况下构建项目,然后使用新版本的 Unity (2020) 加载项目并禁用 iOS 构建支持时遇到了这个问题。
将 iOS 构建支持添加到安装解决了缺少的依赖问题。
关于c# - Unity 2020 和 Firebase 上的问题(无法解析引用 'UnityEditor.iOS.Extensions.Xcode'),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63374878/