Xcode real-Machine Debug error (Invalid certificate issuer)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.