• 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
Tuesday, November 17, 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
    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

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

  • 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
    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

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

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

Magic ActionsでiOSのビルド時間を短縮 | Codemagic Blog

by Theinsightpost
August 6, 2022
in Mobile
0 0
0
Magic ActionsでiOSのビルド時間を短縮 | Codemagic Blog


.ipaバイナリをApp Store Connectにアップロードするのに、数秒から最大1時間もかかる場合があるということで、評判がよくありません。これは、アップロードに長い時間がかかるからではなく、アップル社がアップロードされたビルドをApp Store Connectで利用可能にする前に、ビルドを処理し、起こりうる問題の確認を行う必要があるからです。アップル社が処理を完了して、私たちがビルドでさらなる様々なアクションができるようになるのを待っていると、ビルド分が大幅に取られてしまい、ビルドに関するフィードバックを得るのが遅くなります。CodemagicとMagic Actionsがこれらの問題をどのように解決するのかについて、引き続きお読みください。

問題1。アップロードされたビルドはすぐには利用できない

ビルドをテスターに配布したり、リリースノートをアップロードしたりするためには、ビルドのアップロード後にApp Store Connectでアクションをいくつか実行する必要があります。例えば

  • ベータ審査用のアプリケーションを承認
  • リリースノートを多言語でアップロード
  • アプリケーションを外部のテスターにリリース

問題は、これらのアクションを実行するために、TestFlightでビルドが利用可能になる前に、アップル社がそれを処理する必要があり、これには長い時間がかかることがあります。これらの作業を手動で行っているか、CIに任せているかに関わらず、アップル社が処理を終えるまでは、リリースノートをアップロードしたり、テスターにビルドを利用可能にすることはできません。

問題2。アップル社を待っているとコストがかかる

アップル社がビルドを処理するのを待っていると、時間とお金の両方がかかってしまいます。ビルドがApp Store Connectに正常にアップロードされたという、App Store Connectからのメールを待って、リリースノートをアップロードするためにクリックし始めるか、あるいはCIワークフローでタスクを自動化して、アップル社の処理が終わるまでビルドマシンをビジー状態にしておくことが可能です。もし、使用したビルド分を対象に料金を支払っている場合、これはCIコストを一気に上昇させることになります。

ネタバレ注意:Codemagicでは、手動でのアクションや処理時間を対象にお支払いいただく必要はございません。

問題3:長いフィードバックサイクル

最後になりますが、もう1つ大事なことは、処理時間が長いと、CI上でテストが合格したかどうか、コンパイルやコード署名が成功したかどうかに関わらず、チームがフィードバックを得るまでの時間が長くなります。手動アクションに頼らずに、CIからビルド状況のフィードバックが早く得られるほど、チームの開発者の方々の生産性や幸福度が向上することは明らかです。

解決策:Magic Actions

これらの問題を解決するために、Codemagicチームは、**App Store配布ジョブの後処理(略してMagic Actions)**をリリースいたしました。

マジックアクションはかなりイケてます。ビルドがApp Store Connectにアップロードされると、macOSの仮想マシン外で非同期に後処理を開始します。iOSのビルドプロセスにはmacOSが必要です。なぜなら、macOSにはXcodeがあるからです。これは、.ipaアーティファクトをコンパイルするのに必要です。また、インスツルメンテーションテスト用のxOSランタイムも必要です。パイプラインの他のすべての部分は、他のどのOSでも実行可能です。

つまり、グリーンビルドを取得して開発を続けるために、アップル社がビルドを処理するのを待ったり、そのためにお金を払ったりする必要はないということです。アプリのアーティファクトがアップロードされた直後にビルドが終了し、ビルドステータスのアップデートが表示されます。それ以降のすべてのステップ、例えば、アップル社がビルドを処理するのを待つ、ビルドをベータ審査に提出する、リリースノートをアップロードする、ビルドをベータグループに配布するといったステップはすべて、非同期で行われます。

後処理ステップのタイムアウトは120分に設定されていますが、これはビルド分やコンカレンシー(同時並行数)にはカウントされず、完全に無料です。

さらに、チームが成長するにつれて、テスターにデプロイするたびに、ビルド時間を20分も短縮できれば大勝利です。というのも、リソースがすぐに空くので、チームで新しいmacOSマシンをたくさん購入したり、CIプロバイダーを使って容量を増やしたりするのに、お金を使う必要がなくなるからです。Magic Actionsを使ってどれだけ時間を短縮できるのか、以下の実際の例をご覧ください。

Magic Actionsによるビルド時間短縮の実例

Magic Actionsがどのくらいビルド時間を短縮するのかを知るために、Codemagicで使用するのと同じビルドスクリプトを使い、複数のCI/CDプロバイダーを使ってテストをすることにしました。これを可能にしたのは、Codemagicの各種オープンソースCLIツールです。これらは、あらゆるビルドインフラでiOSアプリのビルド、コード署名、公開に使用することができます。

テスト1。Codemagic CI/CD

最初のテストでは、Codemagic標準のmacOSインスタンス上で、シンプルなiOSアプリのワークフローを実行しました。Magic Actionsを使用した場合、全体のビルド時間は3分25秒(205秒)でした。合計*1分49秒もの時間が短縮されました。つまり、使用しなかった場合に比べて、ビルドが153%**高速化されました。

テスト2。Bitrise

2回目のテストでは、Codemagicのテストで使用したのと同じビルドスクリプトを使用して、Bitrise標準のmacOSマシンを使用しました。合計ビルド時間は7分15秒(435秒)で、Codemagicの方が**212%**速かったことになります。

テスト3。GitHub Actions

最後のテストでは、CodemagicとBitriseで使用したのと同じビルドスクリプトを使用して、Github Actionsで同じアプリケーションを設定しました。合計ビルド時間は9分27秒(567秒)で、CodemagicのビルドはGithubよりも、Magic Actionsを活用して277%速かったことになります。

Comparison of build times on different CI/CDs

テストに使用したサンプルプロジェクトは、 GitHubで公開しています。

マジックアクションを今すぐお試しください

動画

同じスクリプトを使って3つのサービスをテストしたKevinの動画も以下でご覧ください。

マジックアクションを今すぐお試しください



Source link

ShareTweetSend
Previous Post

Free TAPinto Piscataway Business Directory | Piscataway, NJ News TAPinto – TAPinto.net

Next Post

IAEA chief warns of ‘very real risk’ of disaster at Ukraine nuclear plant – POLITICO

Related News

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
Unlocking Website Security: The Marketbyte Edge in Open Source Solutions
Mobile

Unlocking Website Security: The Marketbyte Edge in Open Source Solutions

November 13, 2026
Uncovering the Best Solutions for Your Mobile Risk Concerns
Mobile

Uncovering the Best Solutions for Your Mobile Risk Concerns

November 12, 2026
Next Post
IAEA chief warns of ‘very real risk’ of disaster at Ukraine nuclear plant – POLITICO

IAEA chief warns of ‘very real risk’ of disaster at Ukraine nuclear plant – POLITICO

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

      Gators Shock Wildcats 21-14 in Thrilling Upset Amid Rollercoaster Season

      Gators Shock Wildcats 21-14 in Thrilling Upset Amid Rollercoaster Season

      November 15, 2026
      Government Announces Historic  Billion Investment in Energy Infrastructure Development

      Government Announces Historic $2 Billion Investment in Energy Infrastructure Development

      November 15, 2026
      Notre Dame Postgame Insights: Dive into Superchats with Westwood One Sports

      Notre Dame Postgame Insights: Dive into Superchats with Westwood One Sports

      November 15, 2026
      Transform Your Laptop Setup with These 5 Affordable Accessories

      Transform Your Laptop Setup with These 5 Affordable Accessories

      November 15, 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