Building and running uncooked from Xcode

Hi, i just got started with Unreal Engine 4, and i am having some trouble building
I am making a procedural game, so id rather use the editor as little as possible, but i am having trouble in xcode building and running uncooked. With the Projectname-Mac target it builds successfully, but i get an error saying it cannot be opened. when i navigate in my project directory to the binary, and try to open it, it tells me it needs to be compiled uncooked. I have tried addign -game and -debug to the build arguments, as well as setting the configuration specifically to “Mac DebugUncooked”. Anyone know how to fix this?