# \[Mac\] Linking problem with official 4.10 binary

**URL:** <https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175>\
**Category:** C++\
**Tags:** MAC, unreal-engine, CPP, question, linking-error\
**Created:** [December 1, 2015, 1:58am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175 "2015-12-01T01:58:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrHobo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrHobo](https://forums.unrealengine.com/u/DrHobo)\
**Post date:** [December 1, 2015, 1:58am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175/1 "2015-12-01T01:58:34Z")

</div>

We’re are trying to migrate from 4.8 to 4.10. We downloaded the official 4.10 from the official launcher, made a copie of the project to another folder, cleaned it up, right-clicked on the .uproject and switched engine and regenerated the XCode workspace. Build :

```
[1/5] Compile Dialogues.h
[2/5] Compile Module.Dialogues.cpp
[3/5] Compile Dialogues.generated.cpp
[4/5] Link UE4Editor-Dialogues.dylib
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-Engine.dylib'
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-AssetRegistry.dylib'
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-Core.dylib'
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-CoreUObject.dylib'
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-InputCore.dylib'
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-HTTP.dylib'
clang: error: no such file or directory: '/Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-AIModule.dylib'
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /Users/josee/Documents/Unreal Projects/Galileen - copie/Binaries/Mac/UE4Editor-Dialogues.dylib
Total build time: 64,42 seconds
Command /Users/Shared/UnrealEngine/4.10/Engine/Build/BatchFiles/Mac/RocketBuild.sh failed with exit code 5

```

Following the linking path inside my computer, I cannot see go past the UE4Editor.app directory. Seems like a symlink using the .app suffix which is strange.

Is this simply a matter of switching from Xcode version 6 to version 7 ?

---

<div class="post-metadata">

**Author:** ![DrHobo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrHobo](https://forums.unrealengine.com/u/DrHobo)\
**Post date:** [December 3, 2015, 3:05am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175/2 "2015-12-03T03:05:41Z")

</div>

Bump.

We got rid of everything from the hard disk and got the latest OS (El Capitan), the latest XCode (7.1.1), the latest Launcher and the latest Engine (4.10).

The same message pops up after trying to compile our project. There is simply no dynamic libraries named UE4Editor-Engine.dylib, UE4Editor-AssetRegistry.dylib, etc. available in the Unreal Engine folder in the /Users/Shared/UnrealEngine/4.10/Engine/Binaries/Mac/ directory.

Help?

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [December 9, 2015, 5:34am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175/3 "2015-12-09T05:34:18Z")

</div>

What was the solution - I just got this first time building MAC on 4.10, now can’t launch the editor.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [December 9, 2015, 6:50am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175/4 "2015-12-09T06:50:31Z")

</div>

> **[4.10 Xcode Workspace Clean Bug](https://forums.unrealengine.com/questions/335688/410-xcode-workspace-clean-bug.html)**
>
> After updating to 4.10, and subsequently using the xcworkspace, I noticed that if I run the Clean command from within Xcode, it ends up deleting core engine dylib’s and renders the global installation of UE 4.10 useless. After this happens if I hit...

Did you do a clean? I did. Verify did not help. Anyway - downloading 4.10.1 now as previously I had been able to compile MAC and IOS from within the editor.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [December 10, 2015, 4:36am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175/5 "2015-12-10T04:36:32Z")

</div>

My problem was it was trying to build UE4 not my project. Clicking on my project in the workspace view then compiling seems to have it working again (this is after going to 4.10.1 and having no change).

I still haven’t worked out how to build for iphone from xcode as the options seemed to be missing but can launch successfully from unreal, so until I have an iphone specific problem to debug I’m putting my head back in the sand.

---

<div class="post-metadata">

**Author:** ![danbvfx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@danbvfx](https://forums.unrealengine.com/u/danbvfx)\
**Post date:** [December 11, 2015, 3:19am UTC](https://forums.unrealengine.com/t/mac-linking-problem-with-official-4-10-binary/340175/6 "2015-12-11T03:19:35Z")

</div>

Although it looks like this is caused by a [bigger issue](https://answers.unrealengine.com/questions/335688/410-xcode-workspace-clean-bug.html) - accidentally running Xcode’s clean with the UE4 target selected in your Xcode workspace appears to remove a whole bunch of important files.
