如何解决Unity 2020和Firebase上的问题无法解析参考“ UnityEditor.iOS.Extensions.Xcode”
我将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 Build Support的情况下构建项目,然后在禁用iOS Build Support的情况下以新版本的Unity(2020)加载项目。
在安装中添加iOS构建支持解决了缺少的依赖项问题。
,这只是 android 应用程序的运行时错误,我们仍然可以构建和运行应用程序。不要担心错误,无需安装 iOS 构建支持。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。