Search Unity

Build Error when generating APK file

Discussion in 'Editor & General Support' started by sysads, Oct 24, 2016.

  1. sysads

    sysads

    Joined:
    Mar 23, 2015
    Posts:
    15
    Hi all, I am in real need of help with a build issue. When I try to generate the apk file, it completes but with following logged errors:

    FileNotFoundException: Could not load file or assembly 'UnityEditor.iOS.Extensions.Xcode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
    UnityEditor.HostView:OnGUI()

    &

    FileNotFoundException: Could not load file or assembly 'UnityEditor.iOS.Extensions.Xcode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
    Google.IOSResolver..cctor ()
    Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Google.IOSResolver
    UnityEditor.HostView:OnGUI()​

    Any assistance or guide would be appreciated.

    Thanks
     
  2. rajantande

    rajantande

    Joined:
    Mar 24, 2015
    Posts:
    23
    I had a similar issue and I found that reinstalling Unity with the iOS build tools included in the install fixed my problem as I now have UnityEditor.iOS.Extensions.dll on my machine.