<?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 Victor Lee on Medium]]></title>
        <description><![CDATA[Stories by Victor Lee on Medium]]></description>
        <link>https://medium.com/@Victorylee?source=rss-2185d0dfbb73------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*In8WJk8KdLlu9tlYcLPTjw.jpeg</url>
            <title>Stories by Victor Lee on Medium</title>
            <link>https://medium.com/@Victorylee?source=rss-2185d0dfbb73------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:29:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Victorylee/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[5 Steps To Run Xcode 9Beta alongside 8]]></title>
            <link>https://medium.com/@Victorylee/5-steps-to-run-xcode-9beta-alongside-8-6a88b2e9ad51?source=rss-2185d0dfbb73------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a88b2e9ad51</guid>
            <category><![CDATA[ios-11]]></category>
            <category><![CDATA[xcode-9beta]]></category>
            <category><![CDATA[2-versions-of-xcode]]></category>
            <category><![CDATA[swift-4]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Victor Lee]]></dc:creator>
            <pubDate>Mon, 03 Jul 2017 06:22:31 GMT</pubDate>
            <atom:updated>2017-07-03T06:22:31.042Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>If you don’t try, you won’t know. Here’s what I learnt.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rEY8NMEGj9ha8fniMD4iUg.jpeg" /><figcaption>If You Don’t Try, You Won’t Learn</figcaption></figure><h4>Step 1: Rename Existing Xcode Application</h4><p>Before doing this, please <strong>close Xcode</strong> and ensure no projects are running.</p><p>Next, open your applications folder and <strong>rename Xcode.app</strong> to Xcode_version#.app. In my case, I was running Xcode 8.3.3 so I renamed it to <strong>Applications/Xcode_8.app</strong> as a label to show the Xcode version which I would use for my production apps. You can rename it by selecting the file, doing a <strong>RIGHT CLICK </strong>to show options and selecting <strong>RENAME</strong> option.</p><p>Enter your admin password when prompted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*_O-BtIi5J8UVP4Bu8kScrw.png" /></figure><h4>Step 2: Download Xcode_9 Beta</h4><p>Sign in to your developer account. You’ll need a premium account which is the paid membership that is needed for publishing apps to the AppStore.</p><p><a href="https://developer.apple.com/download/">Sign in with your Apple ID</a></p><p>You’ll notice that Apple now provides Beta downloads with a custom icon showing the <em>BETA</em> banner, isn’t it great? Apple also uses a dedicated application fileName with the respective version number in the download, so in my case the download saved as <strong>Xcode_9Beta.app</strong>. In the past, we may have had to make our own custom icons if we wanted to differentiate different versions of Xcode running on the mac.</p><h4>Step 3: Keeping Xcode_9Beta In A Separate Directory</h4><p>When you click <strong>Download</strong> in the Apple link above, the .xip file typically saves to your default Downloads directory. After <strong>extracting</strong> it, you could install the XCode_9Beta application in the Downloads directory or you could drag it to the desktop after it installs. Yes, the <em>idea is to </em><strong><em>keep versions of Xcode in separate locations</em></strong><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*l_qh8Z0yjiIdS0ct4JCChg.png" /><figcaption>Keep Xcode Beta versions in a separate directory from Applications</figcaption></figure><h4><strong>Step 4: Use Correct Version of Xcode To Open Projects</strong></h4><p>Fantastic, we made it to this stage!</p><p>We now have 2 versions of Xcode available in our mac. Here comes the moment of truth!</p><p>Select your project. <strong>RIGHT CLICK</strong> + <strong>OPTION KEY</strong> shows the version of Xcode with which to open your project. Pressing <strong>OPTION</strong> lets you select the “<strong><em>Always Open With”</em></strong> option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*1NpyhYjij1mYwr80JNlUQg.png" /></figure><p>Now you’re on a roll to getting started with building awesome prototypes in Xcode 9Beta, or you could stick with Xcode 8 for your production apps.</p><p>Opening your project with your newly installed Xcode_9Beta will present you with some prompts by Apple. No worries, Xcode_9Beta simply needs to access your keychain information.</p><p>Click ALLOW and you’re in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*S1bG4PcXkjT_KdRa_Spzog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*aHlyrA-YndoxSkMWv9ywbw.png" /></figure><p>If you really want to be sure <strong>which version</strong> of Xcode you’re running for your project, simply select the <em>Xcode/About Xcode</em> dropdown menu and you’ll be able to verify this quite easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*8ST15Yq1KB427E4i-qm0-Q.png" /></figure><h4>Step 5: Don’t Forget This</h4><p>You might not be done yet. If you try using Xcodebuild <strong>Command Line Tools</strong> in your terminal at this point, you could discover this error message instead.</p><p>Running the first line gives the second line error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/129/1*ozK81kafTTAhgTgv0eN0LQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*sj8kaUJHo_ZDcpcS91m9Zw.png" /></figure><p>I googled quite a bit about this, and found mostly that the latest installed version of Xcode, in this case Xcode_9Beta, may have caused the problem.</p><p>No worries. A single line command in terminal fixes this, but you need to run it as root, i.e. using <em>sudo</em>. In my case, I wanted to tell the terminal to use Xcode_8 as default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*VabTk5LdTiVGaY7T2aN71A.png" /></figure><p>Next, check which version of Xcode is active by running the following command in terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*RrYZtauUYsb1bZJK2DKPrw.png" /></figure><p>Now I know that I’m running Xcode_8 in my Applications. Sweet!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*NWJ7XuZo0EmyeX5kWj7rSA.png" /></figure><p>Last, but not least, always <strong>BACKUP</strong> your mac and remember to delete the Beta versions of Xcode before the official GM release of that version. That’s to ensure that you get the latest version of Xcode from the Mac App Store.</p><p>In any case, upon deleting my Xcode_9Beta version prior to GM release, I will be renaming <strong>Applications/Xcode_8.app</strong> back to <strong>Applications/Xcode.app</strong>.</p><blockquote>Code long and prosper!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a88b2e9ad51" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>