Dyld: library not loaded: @ rpath / libswiftCore.dylib

I get this problem in my existing project, and I tried to create a new project, after which I run on the device, getting the same problem.

    dyld: Library not loaded: @rpath/libswiftCore.dylib
      Referenced from: /var/mobile/Containers/Bundle/Application/D14EA274-0C2B-457B-8E8F-494197978F34/Pro.app/Pro
Reason: no suitable image found.  Did find:
    /private/var/mobile/Containers/Bundle/Application/D14EA274-0C2B-457B-8E8F-494197978F34/Pro.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of '/private/var/mobile/Containers/Bundle/Application/D14EA274-0C2B-457B-8E8F-494197978F34/Pro.app/Frameworks/libswiftCore.dylib'

some kind of answer i'm tired but still getting the same problem enter image description here

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

+4
source share
7 answers

I found this problem a few months ago. This caused the default Apple certificate to expire.

This solved my problem.

+10

Xcode Window → Projects " ". . enter image description here

+6

:

  • "TARGET" > " ";
  • " ", , "$ ()" "@executable_path/Frameworks", , :
  • .

. enter image description here

+3

"Derivered Data" .

, xcode 8.3, :

"" " " → " " → ​​ " " → .

, !

+1

(2017 ) Xcode 8.3.2, Swift 3 iOs 10.3, - , , , Keychain Access. Apple , . "" ( ) "" " ". .

0

:

1.

2. "TARGET" > " " > " " ^ "$ ()" "@executable_path/Frameworks", ,

0

Ok. -. , Xcode 7, iOS ( iphone) iphone Apple Developer Program ( ).

  • Apple .
  • iPhone (Divece A)
  • iPhone (Divece B)

,

dyld: : @rpath/libswiftCore.dylib uzun hali de dyld: : @rpath/libswiftCore.dylib :/private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/AppName.app/AppName : . :/private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/AppName.app/Frameworks/libswiftCore.dylib: mmap() 1 = 0x008A1000, = 0x001A4000 = __ :: ( ) mapping/private/var/mobile/Containers/Bundle/Application/LONGSERIALNUMBER/APPLICATION_NAME/Frameworks/libswiftCore.dylib

Provision Profile Apple Developer iPhone.

0

Source: https://habr.com/ru/post/1628629/


All Articles