Building 4.0.2 for OSX 10.9.2, I get the following error:
/Volumes/Titan/Developer/UnrealEngine/Engine/Build/BatchFiles/Mac/Build.sh UE4Editor macosx Debug
Building UE4Editor...
Compiling with Mac SDK 10.8
Building UnrealHeaderTool...
Compiling with Mac SDK 10.8
Target is up to date.
Parsing headers for UE4Editor
Code generation finished for UE4Editor and took 3.782
ERROR: Couldn't touch header directories: Sharing violation on path /Volumes/Titan/Developer/UnrealEngine/Engine/Intermediate/Build/Mac/Inc/InputCore/Timestamp
Command /Volumes/Titan/Developer/UnrealEngine/Engine/Build/BatchFiles/Mac/Build.sh failed with exit code 1
I’ve downloaded and extracted the 2 required zip files + optional.zip into my UnrealEngine directory.
Edit: Looks like my XCode is trying to build with osx sdk 10.8. Not sure why that’s happening. Will report back when I manage to switch it to 10.9. If anyone knows how to switch out the osx sdk, please let me know. It’s not obvious how to select the sdk to use for the build.