background:
To do a demo these days, because the positioning function is needed, it needs to be debugged on the real machine. So I changed the BundleID to the one I used before, and then selected the development certificate for real machine debugging.
But every time I run it, I can't succeed, and I always report an error: "process launch failed: timed out waiting for app to launch".
solve:
I searched for this error on Baidu, and most of the answers were in "Product-scheme-edit scheme", changing the Build Configuration of run to debug.
But after I checked, there was no problem with my settings.
After tossing and turning, I read many posts, but none of them solved the problem.
Finally, I suddenly saw a reply in a post saying that if you want to debug on the real machine, you must select the correct certificate in the Code Sign of TARGETS-Build Settings. I didn't care at first glance. I did choose the certificate information that matches the BundleID. , There is no problem.
However, it suddenly occurred to me that in order to facilitate the test application release, I used the enterprise development certificate. Is it possible that the enterprise development certificate cannot be debugged on a real machine? ?
Then I changed my personal development certificate, tried it, and it worked. . . .
result:
Enterprise development certificate cannot be used for debugging