I noticed this question has been asked before but there was no solution mentioned so I am putting it out here again.
I am on Mac OSX 10.9. i7 2.6Ghz 16GB RAM.
Following are the repro steps. Repro rate is 100%.
Open UE4 Editor. Start a blank project. Dont import starter content.
File->Add code to project. Create a Dummy class
Close the editor
Add BeginPlay(). Display “Hello world” on the screen.
Compile. Select target ($ProjectName) → Mac (I also tried ($ProjectName)Editor → Mac)
Build Successful
Go to unreal launcher. Launch the editor and error (attached). Cant do anything.
I tried above steps 3 or 4 times before giving up.
I also tried right-clicking on the .uproject and selecting ‘Generate XCode Files’, then recompiling still no success.
Please let me know what I am missing. Cant do a thing right now.
So after creating millions of projects and trying various combinations I finally figured out the problem.
In XCode, chose ($ProjectName)Editor → My Mac as your compile target and then Product → Build For → Profiling.
This worked for me and I am able to open the project in in the editor. Compiling for any other configuration seems to produce “Game Module not found” error as mentioned above.
May be it was documented somewhere but I couldn’t find it. At least its working now