<?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 Shwet Solanki on Medium]]></title>
        <description><![CDATA[Stories by Shwet Solanki on Medium]]></description>
        <link>https://medium.com/@shwetsolanki?source=rss-fb2ee5256d77------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rY-M3KPssRCsY6rn.jpg</url>
            <title>Stories by Shwet Solanki on Medium</title>
            <link>https://medium.com/@shwetsolanki?source=rss-fb2ee5256d77------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 17:59:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shwetsolanki/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[iOS + Fastlane + TravisCI]]></title>
            <link>https://medium.com/@shwetsolanki/ios-fastlane-travisci-92a051dd07bf?source=rss-fb2ee5256d77------2</link>
            <guid isPermaLink="false">https://medium.com/p/92a051dd07bf</guid>
            <category><![CDATA[fastlane]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[continuous-deployment]]></category>
            <category><![CDATA[travis-ci]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Shwet Solanki]]></dc:creator>
            <pubDate>Thu, 04 May 2017 11:48:38 GMT</pubDate>
            <atom:updated>2017-05-29T17:35:45.818Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will show you how you can easily integrated your existing Fastlane script with TravisCI or any other CI.</p><p>We have been using Fastlane for quite sometime at Dream11 for creating the build and uploading to Crashlytics as well as notifying the testers via Slack. As the project was growing, the build time also increased as we have separate build for Staging and Production environment. There was a definite need of some CI tools so that the building and distribution of the app is delegated to the CI tool. We choose TravisCI (no specific reason).</p><p>It was easier to run our Fastlane commands using TravisCI</p><pre>language: swift<br>osx_image: xcode8.3</pre><pre>cache:<br>  - bundler</pre><pre>before_install:<br>  - bundle install<br>  - bundle update<br>  - bundle exec pod repo update --silent</pre><pre>script:<br>  - fastlane beta</pre><p>But we faced code signing issue while compiling the project.</p><pre>Code signing is required for product type &#39;App Extension&#39; in SDK &#39;iOS 10.3&#39;</pre><p>We figured out that <strong>fastlane match </strong>was unable to save the certificate in the CI’s keychain. In order to solve this issue, we had to create a new keychain and use that newly created keychain to store the certificates.</p><p>Here is how our Fastfile looks like</p><pre>fastlane_version &quot;1.102.0&quot;<br># xcversion(version: &quot;8.3&quot;)</pre><pre>default_platform :ios</pre><pre>platform :ios do<br>    before_all do |lane, options|<br>        create_keychain(<br>            name: ENV[&quot;MATCH_KEYCHAIN_NAME&quot;],<br>            password: ENV[&quot;MATCH_PASSWORD&quot;],<br>            default_keychain: true,<br>            unlock: true,<br>            timeout: 3600,<br>            add_to_search_list: true,<br>            verbose: true<br>        )<br>    end</pre><pre>lane :beta do<br>        generateProfiles(type: &quot;Adhoc&quot;, identifier: &quot;com.companyname.app&quot;)<br>        gym<br>        crashlytics<br>    end</pre><pre>private_lane :generateProfiles do |options|<br>        type = options[:type]<br>        identifier = options[:identifier]<br>        match(<br>            type: type,<br>            app_identifier: identifier,<br>            keychain_name: ENV[&quot;MATCH_KEYCHAIN_NAME&quot;],<br>            keychain_password: ENV[&quot;MATCH_PASSWORD&quot;],<br>            readonly: false,<br>            verbose: false,<br>            force_for_new_devices: true<br>        )<br>        <br>        match(<br>            type: type,<br>            app_identifier: identifier + &quot;.Dream11-Sticker&quot;,<br>            keychain_name: ENV[&quot;MATCH_KEYCHAIN_NAME&quot;],<br>            keychain_password: ENV[&quot;MATCH_PASSWORD&quot;],<br>            readonly: false,<br>            verbose: false,<br>            force_for_new_devices: true<br>        )</pre><pre>        match(<br>            type: type,<br>            app_identifier: identifier + &quot;.Dream11-Widget&quot;,<br>            keychain_name: ENV[&quot;MATCH_KEYCHAIN_NAME&quot;],<br>            keychain_password: ENV[&quot;MATCH_PASSWORD&quot;],<br>            readonly: false,<br>            verbose: false,<br>            force_for_new_devices: true<br>        )<br>    end</pre><pre>after_all do |lane|<br>        delete_keychain(<br>            name: ENV[&quot;MATCH_KEYCHAIN_NAME&quot;]<br>        )<br>    end<br>end</pre><p>MATCH_KEYCHAIN_NAME &amp; MATCH_PASSWORD are stored in Travis CI’s environment variable. If your app has Stickers or Widget support, then you also need to create the provisioning profile for the same using Match as mentioned above.</p><p>PS. Make sure your are not using Automatic Codesigning. Set the provisioning profiles for all your app targets and configuration manually.</p><p>I hope this helps you guys to integrate Fastlane with Travis CI using Match for code signing</p><p>Happy Coding :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92a051dd07bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>