Xcode true Machine Debug times wrong:
Dyld:library not loaded: @rpath/libswiftavfoundation.dylib
Referenced from:/var/mobile/containers/bundle/application/a54d1688-b528-4606-9e02-b51433425fb7/ Lovefreshbeen.app/lovefreshbeen
Reason:no suitable image found. Did find:
/private/var/mobile/containers/bundle/application/a54d1688-b528-4606-9e02-b51433425fb7/lovefreshbeen.app/ Frameworks/libswiftavfoundation.dylib:mmap () errno=1 validating first page of '/private/var/mobile/containers/bundle /application/a54d1688-b528-4606-9e02-b51433425fb7/lovefreshbeen.app/frameworks/libswiftavfoundation.dylib '
Workaround:
reported that this error may be your certificate is invalid, this time to "keychain access" to see if the certificate is invalid, if "The issuer of this certificate is not valid " because: System certificate WWDR expired on February 14, 2016, need to update the WWDR system certificate
Follow this link to download the certificate, Https://developer.apple.com/certificationauthority/AppleWWDRCA.cer, and install.
Remember to delete the expired certificate in "Login" and "System"
After the operation, no accident your certificate there from "the issuer of this certificate is invalid" becomes "This certificate is valid".
When you restart Xcode and then run the program, you can run it on the real machine.
Xcode real-Machine Debug error (Invalid certificate issuer)