I just installed Xcode 6 beta 2. After trying it out, I wanted to continue my work and build a project (created with 5.1 and never opened in Xcode 6), in Xcode 5.1 but I get the following error:
Could not build module 'Cocoa'
The prefix file the error is coming from looks like this (I didn't modified it):
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
Every time I try to build this message is logged:
xpcd[235]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
I'm not sure the above message has anything to do with the problem.
Additionally now it seems to me like I can't build any project using Xcode 5.