0
votes

I created a new swift project in xcode and run the app in device. I am getting below crash :

dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /var/containers/Bundle/Application/07AB485A-D1E4-4602-BA12-28861A9CE4A3/VC.app/VC Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/07AB485A-D1E4-4602-BA12-28861A9CE4A3/VC.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/07AB485A-D1E4-4602-BA12-28861A9CE4A3/VC.app/Frameworks/libswiftCore.dylib'

1
Not resolved using that post answersSuresh Kansujiya

1 Answers

0
votes

do following ::

Add the following line to Runpath Search Paths of your target.

paste this

@executable_path/Frameworks

in yourApp_target -> Build Settings -> Linking -> Runpath Search Paths