LoginSignup
1
3

More than 5 years have passed since last update.

Xcodeで実機インストール際に「A valid provisioning profile for this executable was not found.」が出てインストール出来ない問題

Last updated at Posted at 2016-08-25

現象

実機にアプリをインストールする際にA valid provisioning profile for this executable was not found.というエラーが表示され、インストールができなくなった。

error.png

  • Xcode7.2.1
  • iOS8.3
  • iPad Air Wi-Fiモデル(MD785J/B)
  • インストール方法は開発者登録せずにインストールする方法を利用

結論

端末の時間がおかしかった(進んでいた)。

補足

A valid provisioning profile for this executable was not found.に関しては以下のように記事はあるのですが、解決できませんでした。

インストールが失敗した時のログを見てみると、日付がOct 1になっていることに気づきました。
※実際にインストールしたのは8月

Oct  1 11:38:49 iPad streaming_zip_conduit[516] <Warning>: __dispatch_source_read_socket_block_invoke:203: Failed to install application at file:///var/mobile/Media/PublicStaging/XXX.app/ : Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x14fe2c9f0 {Error=ApplicationVerificationFailed, ErrorDetail=-402620395, ErrorDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.c00YZk/extracted/XXX.app identifier = com.ZZZ.forTest type = 4> : 0xe8008015 (Signer did not match any installed provisioning profile)}
:
以下略

上記から端末の日時を確認してみると2ヶ月も日時が進んでいました。
共有の開発端末だったので日時のテストをした後とかだったのかもしれません。

端末の日時を正しくしたところインストールできるようになりました。

1
3
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
1
3