0

When i am running any of my app on real device this crashing with this error

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

and it is easily running on simulator.

please help me finding the issue.

Kaushik Makwana
  • 1,329
  • 2
  • 14
  • 24

1 Answers1

0

Check your Build Settings in your Xcode project, and more specifically the flag ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES is set to YES. It will not work if it is set to NO. Do a clean of your build folder (Shift+CMD+K), and try building again.

In other versions of Xcode it may be also called Embedded Content Contains Swift Code or Always Embed Swift Standard Libraries

Let me know if this helps.

Aaron
  • 358
  • 2
  • 16