Reputation: 806
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).
Upvotes: 0
Views: 371
Reputation: 6746
I bet that you are including a framework or some files with the ending of .dylib. With some updates from Apple they changed to .tbd
From your error code you are including libswiftFoundation.dylib.
Remove it and change it to
libswiftFoundation.tbd
Upvotes: 1