Xcode无法真机调试

问题描述
Xcode编译工程成功,但是走到安装app时出现问题。首先检查设备是否正确连接。
1.当出现以下情况时:

Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: The operation couldn’t be completed. Unable to launch com.test.project.demo2 because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

Screen Shot 2021-05-11 at 4.27.27 PM.png

2.当出现以下情况:

Could not launch “mobile-client-app”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: failed to get the task for process 7089

Screen Shot 2021-05-11 at 8.43.09 AM.png

你可能感兴趣的:(Xcode无法真机调试)