{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-unity/issues/125","repository_url":"https://api.github.com/repos/aws/aws-sdk-unity","labels_url":"https://api.github.com/repos/aws/aws-sdk-unity/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-unity/issues/125/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-unity/issues/125/events","html_url":"https://github.com/aws/aws-sdk-unity/issues/125","id":132615757,"number":125,"title":"\"Cross compilation job AWSSDK.Core.dll failed\" while building for iOS","user":{"login":"tj850413","id":3603377,"avatar_url":"https://avatars.githubusercontent.com/u/3603377?v=3","gravatar_id":"","url":"https://api.github.com/users/tj850413","html_url":"https://github.com/tj850413","followers_url":"https://api.github.com/users/tj850413/followers","following_url":"https://api.github.com/users/tj850413/following{/other_user}","gists_url":"https://api.github.com/users/tj850413/gists{/gist_id}","starred_url":"https://api.github.com/users/tj850413/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tj850413/subscriptions","organizations_url":"https://api.github.com/users/tj850413/orgs","repos_url":"https://api.github.com/users/tj850413/repos","events_url":"https://api.github.com/users/tj850413/events{/privacy}","received_events_url":"https://api.github.com/users/tj850413/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T06:11:39Z","updated_at":"2016-02-10T06:25:01Z","closed_at":"2016-02-10T06:25:00Z","body":"3 error messages received while building for iOS - Mono2x from iMac OS X.\r\n\r\n1st:\r\n```\r\nCross compilation job AWSSDK.Core.dll failed.\r\nUnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/PlaybackEngines/iOSSupport/Tools/OSX/mono-xcompiler-wrapper.sh --aot=full,asmonly,nodebug,static,outfile=\"AWSSDK.Core.dll.s\" \"AWSSDK.Core.dll\"  current dir : /Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed\r\n result file exists: True. Timed out: False\r\n\r\nstdout:\r\nMono Ahead of Time compiler - compiling assembly /Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/AWSSDK.Core.dll\r\nMissing method .ctor in assembly /Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/AWSSDK.Core.dll, type System.Security.Cryptography.SHA256CryptoServiceProvider\r\nThe class System.Security.Cryptography.SHA256CryptoServiceProvider could not be loaded, used in AWSSDK.Core\r\nThe class <>c__DisplayClass4_0 could not be loaded, used in AWSSDK.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null\r\nThe class Amazon.ResponseLoggingOption could not be loaded, used in AWSSDK.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null\r\n\r\nstderr:\r\n\r\n\r\n  at UnityEditor.MonoProcessUtility.RunMonoProcess (System.Diagnostics.Process process, System.String name, System.String resultingFile) [0x000df] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoAssemblyStripping.cs:113 \r\n  at UnityEditor.MonoCrossCompile.CrossCompileAOT (BuildTarget target, System.String crossCompilerAbsolutePath, System.String assembliesAbsoluteDirectory, CrossCompileOptions crossCompileOptions, System.String input, System.String output, System.String additionalOptions) [0x0033c] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoCrossCompile.cs:318 \r\n  at UnityEditor.MonoCrossCompile+JobCompileAOT.ThreadPoolCallback (System.Object threadContext) [0x00000] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoCrossCompile.cs:52 \r\nUnityEditor.HostView:OnGUI()\r\n```\r\n\r\n2nd:\r\n```\r\nUnityException: Cross compilation failed.\r\nUnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:408)\r\nUnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:27)\r\nUnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)\r\nUnityEditor.HostView:OnGUI()\r\n```\r\n\r\n3rd\r\n`Error building Player: UnityException: Cross compilation failed.\r\n`\r\n\r\n\r\nAnd while i'm porting for IL2CPP, also received weird error messages which calls *.exe.\r\nFailed running\r\nerror1 \r\n ```\r\n/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe -out \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/tempStrip\" -l none -c link -b True -x \"/Applications/Unity/PlaybackEngines/iOSSupport/Whitelists/Core.xml\" -f \"/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/LinkerDescriptors\" -x \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/../platform_native_link.xml\" -x \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml\" -d \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed\" -a  \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll\" -a  \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll\" -a  \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/UnityEngine.Advertisements.dll\" -a  \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll\" -a  \"/Users/tj/SmartHangulLearner/Temp/StagingArea/Data/Managed/UnityEngine.Analytics.dll\"\r\n\r\nstdout:\r\nFatal error in Mono CIL Linker\r\nSystem.Exception: Error processing method: 'System.Security.Cryptography.HashAlgorithm Amazon.Util.CryptoUtilFactory/CryptoUtil::get_SHA256HashAlgorithmInstance()' in assembly: 'AWSSDK.Core.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Security.Cryptography.SHA256CryptoServiceProvider::.ctor()\r\n  at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0 \r\n  --- End of inner exception stack trace ---\r\n  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Steps.MarkStep.Process () [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Driver.Run () [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Driver.RunDriverWithErrorHandling (Mono.Linker.Driver driver) [0x00000] in <filename unknown>:0 \r\n  at Mono.Linker.Driver.RunDriver (Mono.Linker.Driver driver) [0x00000] in <filename unknown>:0 \r\nstderr:\r\n\r\nUnityEngine.Debug:LogError(Object)\r\nUnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:94)\r\nUnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:107)\r\nUnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:100)\r\nUnityEditorInternal.AssemblyStripper:RunAssemblyStripper(String, IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:201)\r\nUnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:131)\r\nUnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:201)\r\nUnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:128)\r\nUnityEditor.HostView:OnGUI()\r\n\r\n```\r\n\r\nError2\r\n\r\n```\r\nException: /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly!\r\nUnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:96)\r\nUnityEditorInternal.AssemblyStripper.RunAssemblyLinker (IEnumerable`1 args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:107)\r\nUnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String[] assemblies, System.String[] searchDirs, System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String linkerPath, IIl2CppPlatformProvider platformProvider, IEnumerable`1 additionalBlacklist, Boolean developmentBuild) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:100)\r\nUnityEditorInternal.AssemblyStripper.RunAssemblyStripper (System.String stagingAreaData, IEnumerable assemblies, System.String managedAssemblyFolderPath, System.String[] assembliesToStrip, System.String[] searchDirs, System.String monoLinkerPath, IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr, Boolean developmentBuild) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:201)\r\nUnityEditorInternal.AssemblyStripper.StripAssemblies (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr, Boolean developmentBuild) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:131)\r\nUnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:201)\r\nUnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:128)\r\nUnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:429)\r\nUnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:27)\r\nUnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)\r\nUnityEditor.HostView:OnGUI()\r\n```\r\n\r\nError3\r\n`Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly!\r\n`\r\n\r\nIs there any clue to fix this??\r\n"}}