Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Problem with iOS Build on Mac Pro

Discussion in 'Addressables' started by addct, Feb 8, 2019.

  1. addct

    addct

    Joined:
    Sep 16, 2017
    Posts:
    3
    We formatted our Mac Pro, then we installed the Unity Hub program. And, we downloaded Unity 2018.3.2F1 from Unity Hub. When we create a new project and try to get a build for iOS, we are getting the following errors:
    Failed running /Applications/Unity/Hub/Editor/2018.3.2f1/Unity.app/Contents/il2cpp/build/UnityLinker.exe -out="/Users/turkeryildirim/New Unity Project/Temp/StagingArea/Data/Managed/tempStrip" -x="/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Core.xml" -x "/Users/turkeryildirim/New Unity Project/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/AI.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/AR.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Accessibility.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Animation.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/AssetBundle.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Audio.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Baselib.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Cloth.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Core.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/CrashReporting.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Director.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/FileSystemHttp.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/GameCenter.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Grid.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/HotReload.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/IMGUI.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/ImageConversion.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Input.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/JSONSerialize.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Localization.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/ParticleSystem.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/PerformanceReporting.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Physics.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Physics2D.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Profiler.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/ScreenCapture.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/SharedInternals.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/SpatialTracking.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/SpriteMask.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/SpriteShape.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Streaming.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/StyleSheets.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Substance.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/TLS.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Terrain.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/TerrainPhysics.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/TextCore.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/TextRendering.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Tilemap.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Timeline.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UI.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UIElements.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UNET.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Umbra.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityAnalytics.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityConnect.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityTestProtocol.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityWebRequest.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityWebRequestAssetBundle.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityWebRequestAudio.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityWebRequestTexture.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/UnityWebRequestWWW.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/VFX.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/VR.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Vehicles.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Video.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/Wind.xml" -x "/Applications/Unity/Hub/Editor/2018.3.2f1/PlaybackEngines/iOSSupport/Whitelists/XR.xml" -d "/Users/turkeryildirim/New Unity Project/Temp/StagingArea/Data/Managed" --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory="/Users/turkeryildirim/New Unity Project/Temp/StagingArea/Data/Managed" --rule-set=Conservative

    stdout:
    Unknown arguments :
    --include-directory=/Users/turkeryildirim/New Unity Project/Temp/StagingArea/Data/Managed
    stderr:

    UnityEngine.Debug:LogError(Object)
    UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
    UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
    UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:192)
    UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1, BuildTargetGroup, ManagedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:124)
    UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:323)
    UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry, ManagedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:216)
    UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:203)
    UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)


    Exception: /Applications/Unity/Hub/Editor/2018.3.2f1/Unity.app/Contents/il2cpp/build/UnityLinker.exe did not run properly!
    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
    UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable`1[T] args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:192)
    UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String[] assemblies, System.String[] searchDirs, System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String linkerPath, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Collections.Generic.IEnumerable`1[T] additionalBlacklist, UnityEditor.BuildTargetGroup buildTargetGroup, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:124)
    UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (System.Collections.IEnumerable assemblies, System.String managedAssemblyFolderPath, System.String[] assembliesToStrip, System.String[] searchDirs, System.String monoLinkerPath, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:323)
    UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:216)
    UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:203)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35)
    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/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:840)
    UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport buildReport) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:659)
    UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessorSettings postProcessorSettings, UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:605)
    UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:48)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)


    What we have used in the build settings:
    Scripting Runtime Version = .NET 4.x Equivalent
    Api Compatibility Level = .NET 4.x

    When we do the exact process in MacBook Pro, there is no error at all. But in Mac Pro, we do get these errors in spite of formatting and trying with the reset device.

    So is it fixable? Can you help?
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,622
    This is a known issue with some non-English locales. I know the Turkish is impacted, and maybe others. The fix for the problem will be in Unity 2018.3.5. Before that, please change the locale of the machine to be an English locale to work around the problem.
     
  3. addct

    addct

    Joined:
    Sep 16, 2017
    Posts:
    3
    Josh, it worked. Thank you very much for your help.
     
    JoshPeterson likes this.