I've been getting this error message as an exception
dyld: Symbol not found: __TWPO6Darwin9MachErrorSs16RawRepresentableS_
Referenced from: /Users/Fiodor/Library/Developer/Xcode/DerivedData/test-buqpcjbiwfvjnadievcgwbgveewn/Build/Products/Debug/test.app/Contents/MacOS/../Frameworks/libswiftFoundation.dylib
Expected in: /Users/Fiodor/Library/Developer/Xcode/DerivedData/test-buqpcjbiwfvjnadievcgwbgveewn/Build/Products/Debug/test.app/Contents/MacOS/../Frameworks/libswiftDarwin.dylib
in /Users/Fiodor/Library/Developer/Xcode/DerivedData/test-buqpcjbiwfvjnadievcgwbgveewn/Build/Products/Debug/test.app/Contents/MacOS/../Frameworks/libswiftFoundation.dylib
(lldb)
At first I thought it was a single occurrence, because this hadn't happened to me before. But I started creating multiple Cocoa Swift projects with just the template code, and it still shows up every time.
I've already tried adding the frameworks manually to my project and changing the deployment target, but it didn't help at all.
I'm running OSX 10.11.4 Beta (15E33e), Xcode Version 7.2 (7C68).