Reputation: 85
I upgrade my app for Android on Unity 2019.12 to 2020.1. With Unity 2019, Firebase work fine. But with Unity 2020, i have 2 errors. I not use IOS, just Android. How to resolve this ? Thanks.
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.
Upvotes: 8
Views: 26356
Reputation: 173
Find a file called Firebase.Editor (on my project is in Assets/Editor/Firebase.Editor.dll), click on it, and on the inspector uncheck "Validate References".
Upvotes: -1
Reputation: 111
No need to install iOS Build support, just uncheck the "Validate References" checkbox in the plugin inspector.
Upvotes: 5
Reputation: 41
This is just the runtime error for the android app, we still can build and run the application. Do not worry about the error and no need to install iOS build support.
Upvotes: 4
Reputation: 304
I ran into this issue by having built the project with iOS Build Support enabled, and then loading the project with a new version of Unity (2020), with iOS Build Support disabled.
Adding iOS build support to the install solved the missing dependency issues.
Upvotes: 18