Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

iOS cloud build error after adding Firebase SDK

Discussion in 'Unity Build Automation' started by Bruder, Jul 13, 2017.

  1. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
    HI All,

    I got iOS cloud build error working with this constellation:
    Unity ver: 5.6.2f1
    Firebase SDK: 4.0.2

    Any clue will be mostly appreciated!

    The error:
    11253: [Unity] Fatal error in Mono CIL Linker
    11254: [Unity] System.ArgumentException: Unable to find the file for the assembly named 'mscorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' specified in link file '/BUILD_PATH/11sheep.theofficequest.theofficequest-ios-production/TheOfficeQuestProj/Assets/Firebase/Plugins/link.xml'. Should this assembly be in the project? Use the 'ignoreIfMissing="1"' attribute if this assembly may not always exist. ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'mscorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
    11255: [Unity] at Mono.Linker.LinkContext.Resolve (Mono.Cecil.IMetadataScope scope) [0x00047] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11256: [Unity] at Mono.Linker.Steps.ResolveFromXmlStep.GetAssembly (Mono.Linker.LinkContext context, Mono.Cecil.AssemblyNameReference assemblyName) [0x00001] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11257: [Unity] at Mono.Linker.Steps.ResolveFromXmlStep.ProcessAssemblies (Mono.Linker.LinkContext context, System.Xml.XPath.XPathNodeIterator iterator) [0x00014] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11258: [Unity] --- End of inner exception stack trace ---
    11259: [Unity] at Mono.Linker.Steps.ResolveFromXmlStep.ProcessAssemblies (Mono.Linker.LinkContext context, System.Xml.XPath.XPathNodeIterator iterator) [0x00104] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11260: [Unity] at Mono.Linker.Steps.ResolveFromXmlStep.Process () [0x0002b] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11261: [Unity] at Mono.Linker.Steps.BaseStep.Process (Mono.Linker.LinkContext context) [0x00018] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11262: [Unity] at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00019] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11263: [Unity] at Mono.Linker.Driver.Run (System.Collections.Generic.IEqualityComparer`1[T] typeComparer, System.Collections.Generic.IEqualityComparer`1[T] methodComparer) [0x003e2] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11264: [Unity] at Mono.Linker.Driver.RunDriverWithErrorHandling (Mono.Linker.Driver driver, System.Collections.Generic.IEqualityComparer`1[T] typeComparer, System.Collections.Generic.IEqualityComparer`1[T] methodComparer) [0x00001] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
    11265: [Unity] at Mono.Linker.Driver.RunDriver (Mono.Linker.Driver driver, System.Collections.Generic.IEqualityComparer`1[T] typeComparer, System.Collections.Generic.IEqualityComparer`1[T] methodComparer) [0x00002] in <fa8b4adb8d9b4daba31cfb0ed5af445d>:0
     
    krou and hiranotaichi like this.
  2. krou

    krou

    Joined:
    May 29, 2014
    Posts:
    22
    have the same issue at 2017.1.0f3
     
  3. GravyGaming

    GravyGaming

    Joined:
    Nov 25, 2015
    Posts:
    8
    Hey Bruder, Were you able to solve this problem?
     
  4. Bruder

    Bruder

    Joined:
    Aug 9, 2014
    Posts:
    56
    Unfortunately no, we got back to local compilation...
     
  5. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    same here..unity 5.6.2f1