Mac: Fatal error in Unity CIL Linker


I’m running Unity 2017.1.1f1 on Mac OSX High Sierra. The target is iOS. I’m trying to build a 3D project that was created on Windows 10, same Unity version. Every time I build, I get the following error in the console:

Fatal error in Unity CIL Linker:
System.IO.IOException: Sharing violation on path /Volumes/…/Temp/StagingArea/Data/Managed/tempStrip/UnityEngine.dll.mdb

I’ve tried shortening the path by moving the folder closer to the root directory, removing the Temp folder before building, and updating all software that I can. I get this error every time I build. It runs fine in the Unity editor. It builds fine on Windows for Android target.

Any ideas?

Thanks in advance for any thoughts.


I solved the problem. I restored the app from subversion onto a new dmg that was HFS+ case-insensitive. (It didn’t work on case-sensitive or FAT.) It works fine now.