Help with building for IOS!

I cant build my game on IOS. I could do so 3 days ago, but right now it stopped working! Ill put up the exception at the end of the thread, but its basically a “Failed to run UnityLinker.exe” exception. I think its specifically related to the IL2CPP Scripting Backend (Which i cant change on IOS).

Things I’ve tried:

  • Updating to the newest version of Unity. (2019.4.20f1)
  • Checking out many posts and trying their fixes (many related to 2017 build) which were:
  • Changing Architecture from Universal (with ARMv7) to ARM64 specifically.
  • Changing the Api compatibility level from .Net Standard 2.0 to .Net 4.x
  • Updating to the latest build of Visual Studio.

Its important to know as well that Im trying to do all of this on MacOSX, and I haven’t updated to Big Sur (which I wish not to yet).

With that said, any help is appreciated and, of course, thank you in advance!

EXCEPTIONS:

Exception: /Users/sleepy/Documents/Unity Shenanigans/2019.4.20f1/Unity.app/Contents/il2cpp/build/deploy/net471/UnityLinker.exe did not run properly!

Failed running "/Users/sleepy/Documents/Unity Shenanigans/2019.4.20f1/Unity.app/Contents/il2cpp/build/deploy/net471/UnityLinker.exe" @"/Users/sleepy/Documents/GitHub/Unity/ReProject-Fiesta/Project-Fiesta/Party, Inc/Temp/StagingArea/Data/Managed/response.rsp" 

stdout:
Fatal error in Unity CIL Linker
System.IO.FileNotFoundException: Could not find file "/Users/sleepy/Documents/GitHub/Unity/ReProject-Fiesta/Project-Fiesta/Party"
File name: '/Users/sleepy/Documents/GitHub/Unity/ReProject-Fiesta/Project-Fiesta/Party'
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
at System.Xml.XmlDownloadManager.GetStream (System.Uri uri, System.Net.ICredentials credentials, System.Net.IWebProxy proxy, System.Net.Cache.RequestCachePolicy cachePolicy) [0x00018] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00032] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate (System.Object xmlResolver) [0x0000c] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlTextReaderImpl.OpenUrl () [0x0005e] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00032] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate (System.Object xmlResolver) [0x0000c] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlTextReaderImpl.OpenUrl () [0x0005e] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XmlTextReaderImpl.Read () [0x00093] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XPath.XPathDocument.LoadFromReader (System.Xml.XmlReader reader, System.Xml.XmlSpace space) [0x0006d] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XPath.XPathDocument..ctor (System.String uri, System.Xml.XmlSpace space) [0x00013] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at System.Xml.XPath.XPathDocument..ctor (System.String uri) [0x00000] in <1d98d70bb7d8453b80c25aa561fdecd1>:0 
at Unity.Linker.Steps.Resolution.UnityResolveFromXmlStep..ctor (System.String file) [0x00000] in <8770b367edc74e678284d672346206ea>:0 
at Unity.Linker.UnityDriver.ParseArguments (Mono.Linker.Pipeline p, Unity.Linker.UnityLinkContext context, System.Collections.ArrayList custom_steps, Mono.Linker.I18nAssemblies& assemblies) [0x001d1] in <8770b367edc74e678284d672346206ea>:0 
at Unity.Linker.UnityDriver.Run () [0x0001b] in <8770b367edc74e678284d672346206ea>:0 
at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling () [0x00007] in <8770b367edc74e678284d672346206ea>:0 
at Unity.Linker.UnityDriver.RunDriver () [0x00002] in <8770b367edc74e678284d672346206ea>:0 
stderr:

UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:126)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:71)
UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable`1[T] args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:168)
UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String outputFolder, System.String& output, System.String& error, System.Collections.Generic.IEnumerable`1[T] linkXmlFiles, UnityEditorInternal.UnityLinkerRunInformation runInformation) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:159)
UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (UnityEditorInternal.UnityLinkerRunInformation runInformation) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:304)
UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.BaseUnityLinkerPlatformProvider unityLinkerPlatformProvider, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:180)
UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:490)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:228)
UnityEditor.iOS.PostProcessiPhonePlayer.CrossCompileManagedDlls (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.AssemblyReferenceChecker checker, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport buildReport) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:897)
UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport buildReport) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:731)
UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessorSettings postProcessorSettings, UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:679)
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:45)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:49)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at /Users/bokken/buildslave/unity/build/Editor/Mono/Modules/DefaultBuildPostprocessor.cs:29)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:353)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:136)

Fixed it, the name of the main folder of the project possessed a comma (e.g: “My game, the game”) and apparently that comma blows up Unity’s string comparer, idk.