UnusedBytecodeStripper2.exe无法正常运行

时间:2015-06-16 12:45:07

标签: unity3d il2cpp

我正在尝试让我的iOS游戏为iOS构建。我将脚本后端设置为IL2CPP(armv7和arm64),我收到以下错误..

我使用MobileMoveScript Plugin 2.1.3Mobile Social Plugin 6.6。我不认为插件有任何问题,因为我已经尝试单独构建它们并且它有效。

运行失败

  

/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe   -out“/ Users / abeltherock007 / Documents / Unity Projects / Talking Superstar 2 / Temp / StagingArea / Data / Managed”-l none -c link -x   “/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/native_link.xml”   -f“/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/LinkerDescriptors”   -x“/ Users / abeltherock007 / Documents / Unity Projects / Talking Superstar 2 / Temp / StagingArea / Data / Managed /../ platform_native_link.xml”-x   “/ Users / abeltherock007 / Documents / Unity Projects / Talking Superstar   2 / Temp / StagingArea / Data / methods_pointedto_by_uievents.xml“-x   “/ Users / abeltherock007 / Documents / Unity Projects / Talking Superstar   2 / Assets / link.xml“-d”/ Users / abeltherock007 / Documents / Unity   Projects / Talking Superstar 2 / Temp / StagingArea / Data / Managed“-a   “/ Users / abeltherock007 / Documents / Unity Projects / Talking Superstar   2 / Temp / StagingArea / Data / Managed / Assembly-CSharp.dll“-a   “/ Users / abeltherock007 / Documents / Unity Projects / Talking Superstar   2 / Temp / StagingArea / Data / Managed / UnityEngine.UI.dll“


  

标准输出; Mono CIL Linker中的致命错误   Mono.Cecil.AssemblyResolutionException:无法解析程序集:   'U3DXTCore,Culture = neutral,PublicKeyToken = null'at   Mono.Linker.LinkContext.Resolve(IMetadataScope范围)[0x00000] in   :0点   Mono.Linker.Steps.ResolveFromXmlStep.GetAssembly   (Mono.Linker.LinkContext上下文,System.String assemblyName)   [0x00000] in:0 at   Mono.Linker.Steps.ResolveFromXmlStep.ProcessAssemblies   (Mono.Linker.LinkContext上下文,System.Xml.XPath.XPathNodeIterator   迭代器)[0x00000] in:0 at   Mono.Linker.Steps.ResolveFromXmlStep.Process()[0x00000] in:0 at Mono.Linker.Steps.BaseStep.Process   (Mono.Linker.LinkContext上下文)[0x00000] in:0   在Mono.Linker.Pipeline.Process(Mono.Linker.LinkContext上下文)   [0x00000] in:0 at Mono.Linker.Driver.Run()   [0x00000] in:0,Mono.Linker.Driver.RunDriver   (Mono.Linker.Driver驱动程序)[0x00000] in:0 stderr:

     

UnityEngine.Debug:LOGERROR(对象)   UnityEditorInternal.Runner:RunManagedProgram(String,String,String,   CompilerOutputParserBase)   UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1,   String&,String&,String,String)   UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String,String,   String&,String&,String,String,IEnumerable`1)   UnityEditorInternal.AssemblyStripper:Strip(String,String,String&amp ;,,   String&,String,String,IEnumerable`1)   UnityEditorInternal.AssemblyStripper:Strip(String [],String [],String,   String,String&,String&,String,String,IEnumerable`1)   UnityEditorInternal.IL2CPPBuilder:RunAssemblyStripper(IEnumerable的,   String,String [],String [],String)   UnityEditorInternal.IL2CPPBuilder:StripAssemblies(String [],String)   UnityEditorInternal.IL2CPPBuilder:运行()   UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String,String,   IIl2CppPlatformProvider,Action`1,RuntimeClassRegistry)   UnityEditor.HostView:OnGUI()

1 个答案:

答案 0 :(得分:7)

我遇到了这个问题并没有在网上找到任何东西,但我终于解决了。 这里的问题是iOS的u3dxt插件。它不是64位兼容或至少我使用的版本不是。所以你必须有一个解决它的工作。 我删除了插件,一切都好。 另请注意,即使您已删除插件并且链接文件仍在Asset /文件夹中,问题也无法解决。所以删除插件文件夹和u3dxt链接文件。