Embedded Content Contains Swift Code

Ran into this error today:

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

It was solved by changing the Build Option:

Embedded Content Contains Swift Code to Yes

The project in question was Objective-C based but had an embedded project (Charts) written in Swift.

BuildOptionEmbeddedSwift

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.