<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by mAdHaV kulkarni on Medium]]></title>
        <description><![CDATA[Stories by mAdHaV kulkarni on Medium]]></description>
        <link>https://medium.com/@madhav.kulkarni1986?source=rss-c383680606f1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zilL0zXh3jIZvH68OAlKbA.jpeg</url>
            <title>Stories by mAdHaV kulkarni on Medium</title>
            <link>https://medium.com/@madhav.kulkarni1986?source=rss-c383680606f1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:20:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@madhav.kulkarni1986/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automating Your iOS Build Pipeline: From GitHub Push to App Store]]></title>
            <link>https://medium.com/@madhav.kulkarni1986/automating-your-ios-build-pipeline-from-github-push-to-app-store-cee39bbbb6b1?source=rss-c383680606f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/cee39bbbb6b1</guid>
            <category><![CDATA[apple-releases]]></category>
            <category><![CDATA[fastlane-ios]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[build-ios]]></category>
            <category><![CDATA[fastlane]]></category>
            <dc:creator><![CDATA[mAdHaV kulkarni]]></dc:creator>
            <pubDate>Fri, 20 Mar 2026 20:18:43 GMT</pubDate>
            <atom:updated>2026-03-20T20:18:43.255Z</atom:updated>
            <content:encoded><![CDATA[<p>Automating the iOS build and release process is a game-changer for mobile engineering teams. By leveraging CI/CD platforms/build automation tools(like Fastlane, Bitrise, Codemagic), developers can streamline the journey from a simple GitHub code push all the way to a phased release on the App Store.</p><p>Let’s break down this automated pipeline phase by phase.</p><blockquote><em>I will use Fastlane and Github as references for build tool and software code management(SCM) respectively.</em></blockquote><h3><strong><em>Phase 1: Code Push &amp; CI Trigger</em></strong></h3><p>The automation begins the moment a developer merges a Pull Request or pushes a specific release tag (like release/v1.2.0) to the main branch on GitHub(or any SCM). GitHub immediately detects this action and fires a webhook to your CI/CD platform (such as Jenkins, GitHub Actions, CircleCI, or self-hosted macOS runners). The CI platform responds by provisioning an ephemeral macOS environment equipped with Xcode.</p><h3><strong><em>Phase 2: Environment Setup</em></strong></h3><p>Once the macOS runner is active, it prepares the workspace for the build:</p><h4><em>Checkout Code</em>:</h4><p>It retrieves the latest source code from the repository.</p><h4><em>Install Dependencies</em>:</h4><p>Package managers like CocoaPods or Swift Package Manager (SPM), along with Ruby gems like Fastlane, are installed.</p><h4><em>Select Xcode Version</em>:</h4><p>It ensures the correct version of Xcode and the iOS SDK are selected using tools like <em>xcode-select</em>.</p><h3><strong><em>Phase 3: Code Signing (Fastlane Match)</em></strong></h3><p>Code signing is notoriously the most complex part of iOS builds, but Fastlane handles this elegantly using its match tool.</p><h4><em>Fetching Certificates</em>:</h4><p><em>fastlane match</em> connects to secure storage (like a private Git repo or AWS S3) to download the encrypted App Store Distribution certificates and Provisioning Profiles.</p><h4><em>Installing to Keychain</em>:</h4><p>It decrypts these files and temporarily installs them into the CI runner’s local keychain, proving to Apple that your organization authorized the app.</p><h3><strong><em>Phase 4: Testing and Building</em></strong></h3><p>With the environment ready, Fastlane moves on to compiling and testing the application.</p><h4><em>Running Tests (fastlane scan)</em>:</h4><p>Fastlane spins up an iOS Simulator and runs Unit and UI tests. If any tests fail, the pipeline halts immediately.</p><h4><em>Building the Archive (fastlane gym)</em>:</h4><p>If tests pass, gym compiles the code, links libraries, signs the binaries, and packages everything into an .ipa file. It also generates a .dSYM file for crash symbolication.</p><h3><strong><em>Phase 5: Publishing to App Store Connect</em></strong></h3><p>Once the .ipa is built, it’s time to upload the artifact to Apple’s servers.</p><h4><em>Uploading (fastlane deliver or pilot)</em>:</h4><p>Fastlane uses the App Store Connect API to securely upload the .ipa, .dSYM, app metadata, and screenshots.</p><h4><em>TestFlight</em>:</h4><p>The build typically goes to TestFlight first for internal QA or beta testing before being promoted to a release candidate.</p><h4><em>Submission for Review</em>:</h4><p>Fastlane can automatically submit the app for Apple’s App Review process.</p><h3><strong><em>Phase 6: Rollout</em></strong></h3><ul><li><strong>Phased Release (Gradual Rollout):</strong> Updates are rolled out over seven days to a growing percentage of users (1%, 2%, 5%, 10%, 20%, 50%, 100%). This allows for monitoring, pausing (up to 30 days), and bug mitigation.</li><li><strong>Manual Release:</strong> After review approval, the developer chooses exactly when to publish the app to the store.</li><li><strong>Immediately After Approval:</strong> The app is published automatically once it clears the App Store review process.</li><li><strong>Scheduled Release:</strong> Developers can set a specific date and time for the app to go live, often used to align with marketing campaigns.</li><li><strong>Pre-order Release:</strong> Allows users to order the app before it is released, with automatic downloads on launch day.</li></ul><h3>Visual Overview of the Pipeline(with phased rollout)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vWm_ZlgfAIjH3BceLfZ5og.png" /></figure><p><strong>Conclusion: </strong><em>By automating the build and release process using CI/CD pipelines and build automation tools, you eliminate manual overhead, reduce human error in code signing, and ensure a reliable, repeatable release process from GitHub to the App Store.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cee39bbbb6b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>