• 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
Wednesday, October 7, 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

    Washington state man charged with helping Canadian mass shooter plan for attack

    Border Security, Public Safety, and American Sovereignty with Markwayne Mullin

    Students injured as NJ high school bleachers collapse in scary scene

    California man in incest case busted in Mexico; teen daughter rescued

    Cornell president calls gang rape allegations ‘deeply disturbing’ : NPR

    France’s violent student protests raise warning for America: ‘A cautionary tale’

    Birmingham’s WBHM Public Radio Station Forced to Use “Gulf of America”

    Eminem gets online backlash from fans over Kid Rock Christian album collab

    Trump leans into Iran war, admits it could cost Republicans the midterms

  • 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

    Washington state man charged with helping Canadian mass shooter plan for attack

    Border Security, Public Safety, and American Sovereignty with Markwayne Mullin

    Students injured as NJ high school bleachers collapse in scary scene

    California man in incest case busted in Mexico; teen daughter rescued

    Cornell president calls gang rape allegations ‘deeply disturbing’ : NPR

    France’s violent student protests raise warning for America: ‘A cautionary tale’

    Birmingham’s WBHM Public Radio Station Forced to Use “Gulf of America”

    Eminem gets online backlash from fans over Kid Rock Christian album collab

    Trump leans into Iran war, admits it could cost Republicans the midterms

  • 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

Mobile

Android Developers Blog: Device Streaming and Android skills

October 6, 2026
Mobile

Samsung confirms broad SmartTag 3 Android support

October 5, 2026
Mobile

How Can Software Consulting Company Benefit Your Business?

October 4, 2026
Mobile

Injection Molding Cost Estimation: How AI Delivers ROI

October 4, 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
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      France and Germany say diesel promise to Trump won’t require new stock release – POLITICO

      October 7, 2026

      Discover it Secured Card Unveils New Deposit Requirements, Improved Rewards

      October 7, 2026

      Honor Magic 9 tipped to pack 6.36-inch display, 8000mAh battery, dual 200MP cameras, and more

      October 7, 2026

      Meta stock scores a rare ‘golden cross’ buy signal as investors swarm to its top-charting AI agent

      October 7, 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

      Clear examples do more than decorate an explanation: they show how an idea behaves under recognizable conditions. In education and software documentation alike, strong illustrations begin with a defined goal, then reveal the steps, assumptions, and result without unnecessary detail. A practical test example should state the input, expected output, and boundary condition, because these elements show whether a rule works beyond the simplest case. Including a contrasting case also helps readers distinguish a valid application from a tempting but incorrect one, while concise notes explain why the outcomes differ. When examples are updated with current data and checked against the underlying rule, they remain useful across classrooms, product guides, and professional training.