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?
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!
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
2.1m questions
2.1m answers
60 comments
57.0k users