今天早上因为某些原因,重新设置了一下证书,然后运行的时候报错
has denied the launch request. Internal launch error: process launch failed: Unspecified xxx
网上有很多解决方法,我这里的原因是:
设置证书的时候,一不小心,把Run中设置成了Release,导致运行时使用的是Distribution证书,所以出错。
当产生上述错误时,先检查Scheme中的:Run是否是Debug:

此处需为Debug,且在工程设置中的证书也为Development即可。

网友评论