Build In Xcode or Editor

Ok so here is another problem. If i build my project from Xcode then go to the “Debug.App” it comes up with an error of this
"
The global shader cache file ‘/Users/Shared/UnrealEngine/4.7/Engine/GlobalShaderCache-GLSL_150_MAC.bin’ is missing.

You’re running a version of the application built to load COOKED content only, however no COOKED content was found. Consider cooking content for this build, or build and run the UNCOOKED version of the application instead.
"
Should I be compiling my C++ code from Xcode or from the editor?

Hello, BIrvin

In the Editor, please go to File > Cook Content > [PlatformName].

If you like to learn more about content cooking in Unreal Engine 4, please go here:

Hope this helped!

Have a great day!