Recently, in helping a friend's computer to configure the real-Time debugging certificate encountered the following problems.
Friend he himself did not buy a paid version of the personal developer account, but instead of him to buy a paid version of the personal developer account of friends to help generate a real Machine debug certificate, during my friend just provided a bit of their udid, and got 2 files, One is. p12 file one is the. mobileprovision file.
Based on previous experience, double-click to open the. p12 file, and then open the. mobileprovision, usually at this time can be the real machine debugging, but through the practice found that only a part of the project can be real-machine debugging, the other part of the project after running a variety of reports have never encountered various errors, such as:
Dyld:library not loaded: @rpath/alamofire.framework/alamofire referenced from:/private/var/mobile/containers/bundle /application/91f9afeb-5dc2-473d-bacd-be003493633e/hmweibo06.app/hmweibo06 reason:no suitable image found. Did find:/private/var/mobile/containers/bundle/application/91f9afeb-5dc2-473d-bacd-be003493633e/hmweibo06.app/ Frameworks/alamofire.framework/alamofire:mmap () Error 1 at address=0x10020c000, size=0x00048000 Segment=__TEXT in Segment::map () mapping/private/var/mobile/containers/bundle/application/91f9afeb-5dc2-473d-bacd-be003493633e/ hmweibo06.app/frameworks/alamofire.framework/alamofire/private/var/mobile/containers/bundle/application/ 91f9afeb-5dc2-473d-bacd-be003493633e/hmweibo06.app/frameworks/alamofire.framework/alamofire:mmap () Error 1 at address=0x1002f4000, size=0x00048000 Segment=__text in Segment::map () mapping/private/var/mobile/containers/bundle/ Application/91f9afeb-5dc2-473d-bacd-be003493633e/hmweibo06.app/frameworks/alamofire.framework/alamofire/private/var/mobile/containers/bundle/application/91f9afeb-5dc2-473d-bacd-be003493633e/hmweibo06.app/frameworks/ Alamofire.framework/alamofire:mmap () Error 1 at address=0x1003e0000, size=0x00048000 Segment=__text in Segment::map () mapping/private/var/mobile/containers/bundle/application/91f9afeb-5dc2-473d-bacd-be003493633e/hmweibo06.app/ Frameworks/alamofire.framework/alamofire (LLDB)
Re-adjust the project configuration information without effect. However, when checking the certificate status, it is found that the real Machine Debug certificate is marked by the system: This certificate is signed by an unknown authorized authority.
After searching the internet discovery, originally is WWDR Intermediate certificate did not import, download from Apple official website and import can debug normally.
at this point, the status of the original debug certificate becomes: This certificate is valid.
At this point, the problem is resolved.
iOS device real-computer debugging issues with certificate unauthorized organization signing