Dimitre Bogdanov
Dimitre Bogdanov

Reputation: 396

Xcode fails to build unreal engine 4 project

So I'm trying to make a game using Unreal Engine 4 but I'm running into some issues. Up until now I've been working on the Unreal Engine Editor only and it's been working just fine but when I started creating C++ classes and using Xcode as well, after trying to build it fails with an exit code 5 error. However that error is coming from the building of the editor itself, I have no idea how to make it only build my project and not the editor from the source.

Also, when i try to compile it from the Editor, it fails with an error saying that it failed to produce item :/Users...../UE4Editor.dylib

Any help would be appreciated.

Upvotes: 4

Views: 2523

Answers (1)

DragonFyZex
DragonFyZex

Reputation: 1

If you have source control, you can do this. 

1. BACK THIS UP

  1. Roll back to a working copy.

  2. Delete

    /.vs /Build /Binaries /DerivedDataCache /Intermediate /Saved .xcode file .db file

  3. Click on the .uproject file, it will say to rebuild it. Press yes.

  4. Open Unreal Engine

  5. Right Click the .uproject file >> Services >> Generate XCode Project

  6. Make your game :D

Upvotes: 0

Related Questions