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.

xcodebuildの-exportOptionsPlist対応でApple Developer Enterprise ProgramのProvisioningを使用したipaの生成時にエラーが出てハマった

0
Last updated at Posted at 2017-04-12

事象

まず最初にmethodをad-hocとしたplistファイルを作成し、Enterprise ProgramではないProvisioningを使用して動作を確認した。
これを流用してEnterprise ProgramのProvisioningでipaを作成しようとしたところ以下のエラーが表示された。

No matching provisioning profiles found

teamIDの指定やプロジェクト設定など確認するもエラーは解消されず。

解決策

plistファイルのmethodをad-hocからenterpriseに変更するのみ。
$ xcodebuild -help を見ると確かに以下のように記載されていた。

method : String
Describes how Xcode should export the archive. Available options: app-store, package, ad-hoc, enterprise, development, and developer-id. The list of options varies based on the type of archive. Defaults to development.

終わりに

エラーの出方から問題の箇所が特定しづらいなと思いつつ、ヘルプはよく読みましょう…という初歩的なところに行き着く。

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?