トリガー
iPhoneをUSB接続しRun
したところ、下記の内容のダイアログが表示された。
Could not launch "project name"
iPhone has denied the launch request.
Internal launch error: process launch failed: failed to get the task for process 519
環境
- iPhone6
- iOS 11.2
- Xcode 10.2.1
原因
Run
だとデバッグでのビルドになるが、証明書がDestributionになっていた。
修正方法
-
General -> Signing(Debug)
の証明書をdevelopment
のものに変更する。ない場合は作成する -
Build Settings -> Code Signing Identify -> Debug
をiOS Developer
に変更する - 完了