Anton Holmquist Anton Holmquist - 19 days ago 5
Swift Question

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

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

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