LoginSignup
6
6

More than 5 years have passed since last update.

BitriseとDeployGateの無料版でiOSアプリ配布を自動化する

Posted at

概要

  • iOSアプリをGitHubにPushしたら自動的にビルドしてDeploygateで配布する
  • BitriseとDeployGateは無料版でテスト配布用

この記事通りにやれば作れる

BitriseでAdd new app

  • 対象のリポジトリなどを指定する

BitriseのWorkflows設定

GitHubにPush ⇒ Bitriseでビルド ⇒ DeployGateで配布 ⇒ Slackへ通知

  • こんな感じのWorkflowにした workflow.png

DeployGate Uploadで設定した項目

  • DeployGate API Key

    • DeployGate にアカウント作成、アプリを作成する
    • 対象アプリページのAPI Keyを設定する
  • DeployGate Owner Name
    作成したアカウント名

  • App file path
    $BITRISE_IPA_PATH

Send a Slack messageで設定した項目

  • Slack Webhook URL
  • Text of the message to send.
    • 一連のビルド処理が成功した時にSlackへ通知するメッセージを記載する
  • If Build Failed -> Text of message to send, if the build Failed
    • 一連のビルド処理が失敗した時にSlackへ通知するメッセージを記載する

BitriseのCode Signing設定

BitriseのEnv Vars設定

  • 環境変数はデフォルトでセットされているはずだが、思うように動作しなかったら確認する

BitriseのTriggers設定

  • 特定リポジトリのPushイベントでビルドプロセスを起動させる場合
    • PUSHタブのPUSH BRANCHを対象のブランチにする。起動するWorkflowを指定する
  • 不要なTriggerは削除する
6
6
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
6
6