ios-- Could not launch 'xxx', xxx iPhone has denied the launch request

在公司接手上一位员工的项目,首先就是打开项目xcode运行,发现并不是如愿能运行,出现了这个信息(能够编译成功,但是真机运行不了)Could not launch ‘xxx’, xxx iPhone has denied the launch request。经过一番查找、取舍。最终找到了适合自己问题的答案。原来在Xcode中debug和release切换那里,多打了一个勾,把这个勾去掉重新运行就OK了如下图

ios-- Could not launch 'xxx', xxx iPhone has denied the launch request

上面的勾去掉 在重新运行就OK了。