- Home /
HtmlAgilityPack build for IOS failed.
Hello. My name is Seraphim. I do JUS application that uses the library HtmlAgilitoPask. And when compiling get an error. Please help if anyone encountered such a problem, a very urgent need.
Error:
Cross compilation job HtmlAgilityPack.dll failed. UnityEngine.UnityException: Failed AOT cross compiler: /Volumes/Data/Applications/Unity/PlaybackEngines/iOSSupport/Tools/OSX/mono-xcompiler-wrapper.sh --aot=full,asmonly,nodebug,static,outfile="HtmlAgilityPack.dll.s" "HtmlAgilityPack.dll" current dir : /Volumes/Data/Unity Projects/Sanatate/Backup Sanatate dat-04.03.16/Sanatate/Temp/StagingArea/Data/Managed result file exists: True. Timed out: False stdout: Mono Ahead of Time compiler - compiling assembly /Volumes/Data/Unity Projects/Sanatate/Backup Sanatate dat-04.03.16/Sanatate/Temp/StagingArea/Data/Managed/HtmlAgilityPack.dll Missing method .ctor in assembly /Volumes/Data/Unity Projects/Sanatate/Backup Sanatate dat-04.03.16/Sanatate/Temp/StagingArea/Data/Managed/HtmlAgilityPack.dll, type System.Net.DnsPermission The class System.Net.DnsPermission could not be loaded, used in HtmlAgilityPack Missing method .ctor in assembly /Volumes/Data/Unity Projects/Sanatate/Backup Sanatate dat-04.03.16/Sanatate/Temp/StagingArea/Data/Managed/HtmlAgilityPack.dll, type System.Net.DnsPermission The class System.Net.DnsPermission could not be loaded, used in HtmlAgilityPack The class HtmlAgilityPack.HtmlCmdLine could not be loaded, used in HtmlAgilityPack, Version=1.4.6.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a The class HtmlAgilityPack.HtmlCmdLine could not be loaded, used in HtmlAgilityPack, Version=1.4.6.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a stderr: 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 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 at UnityEditor.MonoCrossCompile+JobCompileAOT.ThreadPoolCallback (System.Object threadContext) [0x00000] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoCrossCompile.cs:52 UnityEditor.HostView:OnGUI()
Your answer
![](https://koobas.hobune.stream/wayback/20220612070544im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
game lost functionality after build 1 Answer
Android Build Shows Background When Scene Transitions 0 Answers