• Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
Thursday, November 19, 2026
No Result
View All Result
Subscribe Now
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    FAA Administrator Takes Responsibility as Mullin Faces Tough Questions Over Nationwide Ground Stop

    FAA Administrator Takes Responsibility as Mullin Faces Tough Questions Over Nationwide Ground Stop

    Mary Peltola Emerges Victorious in Alaska Senate Race, Making History for Democrats

    Mary Peltola Emerges Victorious in Alaska Senate Race, Making History for Democrats

    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Trump Administration Revokes Pay Increase for Head Start Educators

    Trump Administration Revokes Pay Increase for Head Start Educators

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
The Insight Post
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    FAA Administrator Takes Responsibility as Mullin Faces Tough Questions Over Nationwide Ground Stop

    FAA Administrator Takes Responsibility as Mullin Faces Tough Questions Over Nationwide Ground Stop

    Mary Peltola Emerges Victorious in Alaska Senate Race, Making History for Democrats

    Mary Peltola Emerges Victorious in Alaska Senate Race, Making History for Democrats

    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Trump Administration Revokes Pay Increase for Head Start Educators

    Trump Administration Revokes Pay Increase for Head Start Educators

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
No Result
View All Result
No Result
View All Result
Home Mobile

CI/CD ツール(Codemagic) を使ってFlutter アプリを App Store へ公開する

by Theinsightpost
August 7, 2024
in Mobile
0 0
0
CI/CD ツール(Codemagic) を使ってFlutter アプリを App Store へ公開する

本記事は、佐藤将来が執筆しました。

本記事では、CI/CD ツールである Codemagic を用いて GitHub との連携を行いながら AppStore へアプリをリリースする手順をご紹介します。

「現状、Xcode を用いて手動で App Store Connect へアプリをアップロードしているけど、その手順を簡略化したい」という方に是非読んでいただけると幸いです? 

この記事で出来るようになること

この記事の手順に沿ってセットアップしていただくと、GitHub と連携して App Store Connect へと対象のアプリをアップロード出来るようになります。

つまり、日々の開発の際には以下のような流れでストアへのリリースを行えるようになります:

  1. GitHub 上でトリガーとなる PR をマージする(下記例ではdevelop → main ブランチへのマージ時)

  2. 数分後、Codemagic 上でアプリのビルドが完了する

  3. App Store Connect 上にアプリがアップロードされ、リリース申請が行えるようになる

前提条件

本記事の手順に沿っていただくには、以下のものが事前に必要です:

  • macOS の搭載されたPC
  • Apple Developer Program へのメンバーシップ登録
  • App Store Connect 上でのアプリ登録

事前準備

まず事前準備として、Codemagic のワークフロー作成に必要な Bundle ID と API キーを作成しましょう。

Bundle ID の確認

  1. Apple Developer Portal へログイン後、「Identifiers」ページへ移動します 。

  2. 該当アプリの Bundle ID (Xcode 上で登録されているのと同等のもの)が存在しない場合、新規作成してください。

  3. 値を確認して保存しておいてください。

API キーの作成

  1. App Store Connect にログイン後、「Users and Access > Integrations」 へ移動します。

  2. 「Generate API Key」ボタンよりAPIキーを新規作成します。

  3. キー名とアクセス権限(App Manager)を入力して作成します。

  4. Issuer ID と Key ID をコピーし、API キーファイルをダウンロードします。

これらの ID やファイルは後のステップで必要になるので、すぐに取り出せるように保管しておいてください。

Codemagic とは

ここからは Codemagic を使った手順に入っていきますが、簡単に Codemagic についてご紹介します。

Codemagic とは、Flutter 開発に特化した、テストやビルド、デプロイを自動化する CI/CD ツールです。

iOS, Android や React Nativeなど、様々なプロジェクトにおいて利用できますが、Flutter プロジェクトでは Workflow Editor という GUI ツールを用いることが出来ます。

これにより、yaml ファイルなどの専用ファイルの作成を必要とせずに直感的な操作による開発が可能です。

個人利用であれば無料で使い始めることが出来、十分な無料枠(毎月500分)を提供しています。

料金の詳細についてはこちらをご覧ください。

では、実際に Codemagic を使ってみましょう!

初期設定

アカウント作成

Codemagic の利用が初めての場合、以下よりアカウントを作成してください。

サインアップ

既にアカウントを持っている場合、以下からログインしてください。

ログイン

アプリの追加

ログイン後、アプリ一覧ページより、アプリを追加しましょう。

アプリを追加したいチームを選択しましょう。

個人の場合は Personal account を選択します。

(チームについての詳細はこちら)

接続したい Git Provider を選択しましょう。

本記事では GitHub との連携を例にとって行います。

追加したいアプリの GitHub リポジトリを連携して作成を完了してください。

※ こちらのページより、該当リポジトリへのアクセス権限を付与してください。

アプリの作成が完了すると、以下のような Workflow Editor が開きます。

それでは、ここから Step 1 ~ 4 に沿って少しずつ Codemagic に慣れていきましょう!

Step 1: はじめてのビルドを回してみる

まず、はじめてのビルドを成功させましょう。

“My first green build!” という文章をプリントする簡単なビルドを回してみます。

  1. 「Build for platforms」は「Run tests only」にチェックマークをつけます。

  2. 「Tests」セクション内のテストは無効になっていることを確認します。

  3. 「Notifications」セクションの後の「+」ボタンを押して以下ように入力します。

  4. 画面右上より、変更を保存しましょう。

  5. ビルドを開始します。

おめでとうございます?

はじめてのビルドに成功しました!

「Post-publish script」のセクションで実際に ”My first green build!” とプリントされていることが分かります。

Step 2: Flutterアプリをビルドする

次は、実際に Flutter アプリを iOS 環境でビルドしてみましょう。

  1. 「Build for platforms」は iOS を選択します。

  2. 「Build」セクションにて、ビルド時の環境を設定します。

    ご自身のアプリの普段の実行環境を指定してください。

  3. 変更を保存して、ビルドを実行します。

無事ビルド出来ました?

Step 3: ストアへのアップロード

いよいよ、ビルドしたアプリを実際に App Store Connect へアップロードしましょう。

このステップは少し難しいかもしれませんが頑張っていきましょう?

Build

今回はリリース用のビルドなので Release モードを選択します。

iOS code signing

「Distribution」セクション内にて、Apple サービスとの統合に必要な「iOS code signing」を行なっていきます。

  1. 「Automatic」を選択すると、上記のようなメッセージが出るので「Go to settings」から設定画面へと遷移してください。

    ※ 別画面に遷移するため、それ以前に行った変更が保存されているかご確認ください。

  2. Developer Portal の「Connect」ボタンをクリックします。

  3. 本記事冒頭の「事前準備」の際に App Store Connect 上で取得した Issuer ID、Key ID、API Key ファイルを追加して「Save」より保存してください。

  4. 再び Workflow Editor に戻り、作成したキーを選択します。

  5. Provision profile typeは、「App store」を選択します。

  6. 「事前準備」で確認した Bundle ID を選択します。

App Store Connect

「Enable App Store Connect publishing」をチェックし、先ほど作成した API Key を選択します。

ここまで終えたら、変更を保存してビルドを実行しましょう。

適切なブランチが選択されていることを確認して、ビルドを開始します。

エラーが発生してしまった場合、エラーログの詳細をご確認ください。

よくあるエラーについては、こちらのドキュメントをご覧ください。

また、GitHub Discussion や Discordコミュニティ もご活用ください。

ビルドが成功すると、App Store Connect 上にアップロードされ、「Add Build」より選択出来るようになります。

※ アップロードが反映されるまでには少し時間がかかることがあります

これでリリース申請が出来るようになりました?

Step 4: トリガーの自動化

最後のステップとして、ビルドを自動化していきましょう。

Step 3 までの手順で既に App Store Connect へのアップロードは出来るようになりましたが、このステップを行うことで GitHub 上での操作だけでビルドが出来るようになり更に快適になります。

  1. Workflow Editor の 「Build triggers」を開きます。

  2. トリガーの起動タイミングとして「Trigger on push」を選択します。

  3. 対象となるブランチを入力し「Add pattern」より追加します。

    下記の例では、main ブランチへ push が行われた場合にトリガーが起動するように設定しています。

  4. 実際に GitHub 上で PR を作成 & マージして動作を確認してみましょう。

    ※ Step 3 でアップロードしたバージョンからビルド番号が更新されていることをご確認ください

終わりに

お疲れ様でした?

これからも Codemagic を使って快適に開発を楽しんでいきましょう!

何かご質問やお困りごとありましたら、サポートコミュニティにご相談ください?
GitHub Discussion: https://github.com/orgs/codemagic-ci-cd/discussions
Discordコミュニティ: https://discord.com/invite/pefznye93R

ShareTweetSend
Previous Post

Amid concerns about dirty water and strong current, marathon swimmers dive into the Seine River

Next Post

Study Reveals Pesticides’ Cancer Risk Rivals That of Smoking

Related News

WhatsApp Set to Ditch iCloud and Google Drive Support – But Users Should Brace for Changes
Mobile

WhatsApp Set to Ditch iCloud and Google Drive Support – But Users Should Brace for Changes

November 19, 2026
Understanding the Recent Apple Outage: Causes and Implications for Users
Mobile

Understanding the Recent Apple Outage: Causes and Implications for Users

November 18, 2026
Unlocking Potential: Exploring the FDE Model in Enterprise AI Solutions
Mobile

Unlocking Potential: Exploring the FDE Model in Enterprise AI Solutions

November 14, 2026
Unlocking the Scoop: Upcoming Sale Dates, Price Highlights, and Previous Bargains
Mobile

Unlocking the Scoop: Upcoming Sale Dates, Price Highlights, and Previous Bargains

November 14, 2026
Next Post
Study Reveals Pesticides’ Cancer Risk Rivals That of Smoking

Study Reveals Pesticides’ Cancer Risk Rivals That of Smoking

Discussion about this post

Subscribe To Our Newsletters

    Customer Support


    1251 Wilcrest Drive
    Houston, Texas
    77042 USA
    Call-832.795.1420
    e-mail – news@theinsightpost.com

    Subscribe To Our Newsletters

      Categories

      • Africa
      • Africa-East
      • African Sports
      • American Sports
      • Arts
      • Asia
      • Australia
      • Business
      • Business Asia
      • Business- Africa
      • Canada
      • Defense
      • Education
      • Egypt
      • Energy
      • Entertainment
      • Europe
      • European Soccer
      • Finance
      • Germany
      • Ghana
      • Health
      • Insight
      • International
      • Investing
      • Japan
      • Latest Headlines
      • Life & Living
      • Markets
      • Mobile
      • Movies
      • New Zealand
      • Nigeria
      • Politics
      • Scholarships
      • Science
      • South Africa
      • South America
      • Sports
      • Tech
      • Travel
      • Travel-Africa
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      Six Drainage Enhancement Projects Pending Financial Approval, Says Ahmed Ibrahim

      Six Drainage Enhancement Projects Pending Financial Approval, Says Ahmed Ibrahim

      November 19, 2026
      Jordan Poyer Takes Center Stage: A Look Ahead to November 18, 2026

      Jordan Poyer Takes Center Stage: A Look Ahead to November 18, 2026

      November 19, 2026
      Microsoft’s Satya Nadella Reveals Strategic Rationale Behind Layoff of 60,000 Employees

      Microsoft’s Satya Nadella Reveals Strategic Rationale Behind Layoff of 60,000 Employees

      November 19, 2026
      Super Eagles Rise to 29th in FIFA Rankings, Surpassing Algeria to Claim a Spot in Africa’s Elite Five

      Super Eagles Rise to 29th in FIFA Rankings, Surpassing Algeria to Claim a Spot in Africa’s Elite Five

      November 19, 2026
      • Home
      • Advertise With Us
      • About Us
      • Corporate
      • Consumer Rewards
      • Forum
      • Privacy Policy
      • Social Trends

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist

      We are using cookies to give you the best experience on our website.

      You can find out more about which cookies we are using or switch them off in .

      No Result
      View All Result
      • Home
      • Insight
      • Blog
      • Business
      • Entertainment
      • Health
      • Politics
      • Shop
        • Gift Shop
        • Value Shop
        • Store
        • Bargain Shop
        • Discount
      • Sports
      • Tech
      • Travel
      • USA
      • Video
      • World
        • Asia
        • Africa
        • South America
        • North America
        • Europe
        • Oceania

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      The Insight Post
      Powered by  GDPR Cookie Compliance
      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      Cookie Policy

      More information about our Cookie Policy