Xcode 7:Unable to determine compiler to use

I get the following error trying to run my OS X app in XCode 7 on OS X 10.10.4:


Unable to determine compiler to use - the abstract compiler specification is missing from this Xcode installation.


I have no idea what to do, any help would be appreciated

Xcode 7:Unable to determine compiler to use
 
 
Q