dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib

Anton picture Anton · Jun 2, 2014 · Viewed 64.6k times · Source

I get this error after adding a Swift class to an old Xcode project.

dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib

How can I make the project run again?

Answer

mukaissi picture mukaissi · Sep 10, 2014

For me none of the previous solutions worked. We discovered that there is an flag ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES (in earlier versions: "Embedded Content Contains Swift Code") in the Build Settings that needs to be set to YES. It was NO by default!