Allow xcode to automatically select debug or release build

Sorry for git complicatedness. 
Thanks again Jeremy!