0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Could not launch "project name"でRunできない場合の対応方法

Posted at

トリガー

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になっていた。

修正方法

  1. General -> Signing(Debug)の証明書をdevelopmentのものに変更する。ない場合は作成する
  2. Build Settings -> Code Signing Identify -> DebugiOS Developerに変更する
  3. 完了
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?