Failed to start the Swift iOS app on the device

I know that on SO there are at least 5 different questions with an exact description, but I tried every single answer there without any benefit.

Over the past 12 days, I cannot resolve the following error:

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /private/var/mobile/Containers/Bundle/Application/D385AC46-BAB1-4FEB-8C08-7F78D095605E/tes.app/tes
  Reason: no suitable image found.  Did find:
    /private/var/mobile/Containers/Bundle/Application/D385AC46-BAB1-4FEB-8C08-7F78D095605E/tes.app/Frameworks/libswiftCore.dylib: mmap() error 1 at address=0x1000B0000, size=0x0018C000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/D385AC46-BAB1-4FEB-8C08-7F78D095605E/tes.app/Frameworks/libswiftCore.dylib
  • I revoked the certificates almost 15 times, confirmed that they have a subject line with OU, etc.
  • I sent the inline quick code flag to Yes
  • I set the path to find the path to the corresponding value.

Is there anyone who can help? It looks like I spent $ 99 on Apple without a language.

+4
source share
4 answers

In the end, I found the answer. I had to delete all certificates in the Keychain Manager chain.

+1
source

, , , .

, , , , Apple . , Xcode, Swift Code "", , runpath @executable_path/Frameworks.

, , , Apple . , , .

, , , , , .

mmap() error

, libswiftCore.dylib. : . : " , , , .

? , iOS. keychain " " . , 50-60 + , , , .

, , catch. , , , , Xcode .

, , , , , .

0

Apple /.

Apple WWDRCA , :

  • https://developer.apple.com/certificationauthority/AppleWWDRCA.cer.
  • Double click to install in Keychain. Then in Keychain, select View -> "Show Expired Certificates" in the Keychain app.
  • It will list all expired certificates. Delete "Apple Worldwide Developer Certificate Authority Certificate Certificates" on the Sign In tab
  • Also remove it from the System tab.
0
source

All Articles