LoginSignup
3
2

More than 5 years have passed since last update.

Bitrise(fastlane)でitc_providerを指定しないとAppStore Connectへのアップロードに失敗する

Posted at

概要

普段Bitriseでアップロードしていて問題なくできていたのが、2018年9月中旬頃に急にエラーできなくなった。
エラーの内容は以下の通り。

Your Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command. Please contact us if you have questions or need help. (1627)

iTunes providersというのがよくわからないが、どうも -itc_provider に何かを渡せば良いらしい。

調べると このオプションでAppleのTeam IDを渡せば良いらしい。
Team IDはApple Dev CenterのMembershipページから確認できる。

そもそもBitriseのワークフロー内ではTeam IDを指定する箇所があってそこには記入済みだったが、どうも追加でここにもTeam IDを渡してあげる必要があるらしい。

Appleの仕様変更かFastlaneまたはBitriseのワークフローになにかバグがあるのかもしれないが、調べた限りではあまり情報がなかった。
FastlaneのISSUEはしばらく見ておこうと思う。

unspecified.png

よってBitriseでは "Additional options for deliver call" の欄に --itc_provider [YOUR TEAM ID] を設定すると、アーカイブアップロードが正常に完了する。
(エラーではハイフンが1つだが2つが正しいので注意)

参考情報

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