Cyrille Mouret
Cyrille Mouret

Reputation: 85

Problem on Unity 2020 and Firebase (Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode')

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

Answers (4)

Noam Riahi
Noam Riahi

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

moosa butt
moosa butt

Reputation: 111

No need to install iOS Build support, just uncheck the "Validate References" checkbox in the plugin inspector.

Upvotes: 5

Manju Yadav
Manju Yadav

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

Alan Johnston
Alan Johnston

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

Related Questions