Unity Build IOS工程报错,求问什么原因

1回答

Unity Build IOS工程报错,求问什么原因

提问者 为了生活而奋斗 2018-02-07 363浏览

Failed running /Applications/.5.2f1/Unity5.5.2f1.app/Contents/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe --api NET_2_0 -out "/Users/release-macmini/Projects/XKX/XKX/Temp/StagingArea/Data/Managed/tempStrip" -l none -c link -b False -x "/Applications/Unity5.5.2f1/PlaybackEngines/iOSSupport/Whitelists/Core.xml" -f "/Applications/Unity5.5.2f1/Unity5.5.2f1.app/Contents/il2cpp/LinkerDescriptors" -x "/Users/release-macmini/Projects/XKX/XKX/Temp/StagingArea/Data/Managed/../platform_native_link.xml
/XKX/Temp/StagingArea/Data/Managed/Assembly-UnityScript-firstpass.dll" -a  "/Users/release-macmini/Projects/XKX/XKX/Temp/StagingArea/Data/Managed/Assembly-UnityScript.dll" -a  "/Users/release-macmini/Projects/XKX/XKX/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" -a  "/Users/release-macmini/Projects/XKX/XKX/Temp/StagingArea/Data/Managed/ArtScriptsLib.dll" -a  "/Users/release-macmini/Projects/XKX/XKX/Temp/StagingArea/Data/Managed/DOTween.dll"

stdout:
SweepReport:
Mono.Cecil.MethodDefinition => System.Void Populate(T[],T)System.Void set_IsHTML(System.Boolean)System.Void .ctor(System.String,System.String,System.Byte[])System.String Indent(System.String,System.Int32)UnityEngine.Color GetColorForString(System.String)
System.MonoType => Mono.Cecil.TypeDefinitionMono.Cecil.TypeDefinitionMono.Cecil.TypeDefinitionMono.Cecil.TypeDefinitionMono.Cecil.TypeDefinition
Mono.Cecil.FieldDefinition => System.Configuration.ContextInformation evaluationContextSystem.Configuration.ConfigurationSaveEventHandler SaveStartSystem.Configuration.ConfigurationSaveEventHandler SaveEndSystem.Configuration.ConfigurationElementProperty elementPropertySystem.Boolean systemWebInUse
Fatal error in Mono CIL Linker
Mono.Cecil.ResolutionException: Failed to resolve UnityEngine.ImageConversion
  at UnusedBytecodeStripper2.AddUnresolvedStubsStep.Process () <0x1050e0340 + 0x002fd> in <filename unknown>:0 
  at Mono.Linker.Steps.BaseStep.Process (Mono.Linker.LinkContext context) <0x1036372b0 + 0x0006b> in <filename unknown>:0 
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) <0x103636370 + 0x000e6> in <filename unknown>:0 
  at Mono.Linker.Driver.Run (IEqualityComparer`1 typeComparer, IEqualityComparer`1 methodComparer) <0x100eeb430 + 0x00be7> in <filename unknown>:0 
  at Mono.Linker.Driver.RunDriverWithErrorHandling (Mono.Linker.Driver driver, IEqualityComparer`1 typeComparer, IEqualityComparer`1 methodComparer) <0x100eeb3e0 + 0x00026> in <filename unknown>:0 
  at Mono.Linker.Driver.RunDriver (Mono.Linker.Driver driver, IEqualityComparer`1 typeComparer, IEqualityComparer`1 methodComparer) <0x100eeb2f0 + 0x0003b> in <filename unknown>:0 
stderr:
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:96)
UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:104)
UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:97)
UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(String, IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:196)
UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:128)
UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:123)
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:32)

UnityEditor.HostView:OnGUI()

快来消灭0回答吧

{{ dataList.answer_count | view-format }}回答
加载中... 查看更多回答