<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tools on Mike Gopsill</title>
    <link>https://www.mikegopsill.com/tags/tools/</link>
    <description>Recent content in Tools on Mike Gopsill</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 23 Jun 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.mikegopsill.com/tags/tools/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Install Xcode Command Line Tools</title>
      <link>https://www.mikegopsill.com/posts/install-xcode-command-line-tools/</link>
      <pubDate>Mon, 23 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://www.mikegopsill.com/posts/install-xcode-command-line-tools/</guid>
      <description>&lt;p&gt;Need to install Xcode Command Line Tools? You&amp;rsquo;re probably here because you ran &lt;code&gt;git&lt;/code&gt;, &lt;code&gt;clang&lt;/code&gt;, or another development command and got an error saying the command wasn&amp;rsquo;t found. The command line tools are essential for iOS development, even if you&amp;rsquo;re not using the full Xcode IDE.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how to get them installed quickly.&lt;/p&gt;
&lt;h2 id=&#34;install-via-terminal-recommended&#34;&gt;Install via Terminal (Recommended)&lt;/h2&gt;
&lt;p&gt;The fastest way is using Terminal. Open Terminal and run:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xcode-select --install
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This triggers a popup dialog asking if you want to install the command line developer tools. Click &amp;ldquo;Install&amp;rdquo; and wait for the download to complete.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Control the Status Bar in iOS Simulator</title>
      <link>https://www.mikegopsill.com/posts/control-statusbar-ios-simulator/</link>
      <pubDate>Fri, 20 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://www.mikegopsill.com/posts/control-statusbar-ios-simulator/</guid>
      <description>&lt;p&gt;Need to quickly change the iOS Simulator&amp;rsquo;s status bar for screenshots or testing? You can do it with the &lt;code&gt;simctl&lt;/code&gt; command-line tool. Here&amp;rsquo;s a quick look.&lt;/p&gt;
&lt;h2 id=&#34;the-basic-command&#34;&gt;The Basic Command&lt;/h2&gt;
&lt;p&gt;The core command to manipulate the status bar is:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xcrun simctl status_bar &amp;lt;device&amp;gt; override &amp;lt;options&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;device&amp;gt;&lt;/code&gt;: Use &lt;code&gt;booted&lt;/code&gt; for the currently running simulator, or a specific simulator UDID (get a list with &lt;code&gt;xcrun simctl list devices&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;options&amp;gt;&lt;/code&gt;: These are key-value pairs for what you want to change.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;common-status-bar-overrides&#34;&gt;Common Status Bar Overrides&lt;/h2&gt;
&lt;p&gt;Here are some of the most common things you&amp;rsquo;ll want to do:&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Record GIFs from iOS Simulator</title>
      <link>https://www.mikegopsill.com/posts/record-gifs-ios-simulator/</link>
      <pubDate>Wed, 18 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://www.mikegopsill.com/posts/record-gifs-ios-simulator/</guid>
      <description>&lt;p&gt;Creating GIFs from your iOS Simulator is a great way to showcase features, document animations, or report bugs. Let&amp;rsquo;s look at the easiest ways to do this.&lt;/p&gt;
&lt;h2 id=&#34;record-a-gif-from-the-ios-simulator&#34;&gt;Record a GIF from the iOS Simulator&lt;/h2&gt;
&lt;p&gt;The simplest way to record a video of your app running in the iOS Simulator is using its built-in screen recording feature.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Launch your app&lt;/strong&gt; in the iOS Simulator.&lt;/li&gt;
&lt;li&gt;With the Simulator window active,
&lt;ol&gt;
&lt;li&gt;go to &lt;strong&gt;&lt;code&gt;File &amp;gt; Record Screen&lt;/code&gt;&lt;/strong&gt; in the macOS menu bar, or&lt;/li&gt;
&lt;li&gt;press the shortcut &lt;strong&gt;&lt;code&gt;Cmd + R&lt;/code&gt;&lt;/strong&gt;, or&lt;/li&gt;
&lt;li&gt;hold &lt;strong&gt;&lt;code&gt;Option&lt;/code&gt;&lt;/strong&gt; and click on the record button in the Simulator&amp;rsquo;s title bar.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;A recording indicator (a small circle) will appear in the Simulator&amp;rsquo;s title bar. Perform the actions you want to capture.&lt;/li&gt;
&lt;li&gt;To stop, click the recording indicator again, or press &lt;strong&gt;&lt;code&gt;Cmd + R&lt;/code&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;A thumbnail of your recording will appear.&lt;/li&gt;
&lt;li&gt;Right-click that recording then select &lt;strong&gt;&lt;code&gt;Save as Animated Gif&lt;/code&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=&#34;record gif from iOS simulator&#34; loading=&#34;lazy&#34; src=&#34;https://www.mikegopsill.com/posts/record-gifs-ios-simulator/record-ios-simulator-gif.gif#center&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Xcconfig Explained</title>
      <link>https://www.mikegopsill.com/posts/xcconfig-explained/</link>
      <pubDate>Mon, 15 May 2023 08:00:00 +0000</pubDate>
      <guid>https://www.mikegopsill.com/posts/xcconfig-explained/</guid>
      <description>&lt;p&gt;Xcode project files can get messy as projects grow in size and complexity. The complexity is increased when there are multiple environments or configurations, each with unique settings. Xcconfig files are a way to manage this complexity. Let&amp;rsquo;s dive into understanding how to use Xcconfig files in Xcode projects.&lt;/p&gt;
&lt;h2 id=&#34;what-is-an-xcconfig-file&#34;&gt;What is an Xcconfig file?&lt;/h2&gt;
&lt;p&gt;An Xcconfig, or Xcode configuration file, is a plain text file used by Xcode to externalise configuration settings for build systems. These files use the &lt;code&gt;.xcconfig&lt;/code&gt; file extension and can contain build settings, variable declarations, comments, etc.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Target Dependencies vs Link Binary with Libraries</title>
      <link>https://www.mikegopsill.com/posts/target-dependencies-link-binary/</link>
      <pubDate>Fri, 12 May 2023 08:00:00 +0000</pubDate>
      <guid>https://www.mikegopsill.com/posts/target-dependencies-link-binary/</guid>
      <description>&lt;p&gt;When developing iOS applications with Xcode, it&amp;rsquo;s essential to understand the difference between &amp;ldquo;Target Dependencies&amp;rdquo; and &amp;ldquo;Link Binary with Libraries.&amp;rdquo; These two options found in the Build Phases settings of a target play vital roles in defining how your app interacts with external code. In this article, we&amp;rsquo;ll discuss what these options do and how they are different.&lt;/p&gt;
&lt;h2 id=&#34;understanding-targets&#34;&gt;Understanding Targets&lt;/h2&gt;
&lt;p&gt;Before we delve into the differences, let&amp;rsquo;s first understand what a &amp;lsquo;Target&amp;rsquo; is in Xcode. A target specifies a set of build configurations which define how to build a product in Xcode. It could be an app, a framework, or a unit test bundle. Each target contains information about how to build the product, including build settings, build phases, and the product&amp;rsquo;s dependencies.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Codespaces with a Swift Package</title>
      <link>https://www.mikegopsill.com/posts/codespaces-swift/</link>
      <pubDate>Thu, 16 Feb 2023 08:00:00 +0000</pubDate>
      <guid>https://www.mikegopsill.com/posts/codespaces-swift/</guid>
      <description>&lt;p&gt;In this post we will learn how to build a Swift Package using a GitHub Codespace. I did this recently as an experiment. It was easier than expected. The codespace was quick to build and test on too. It could be a useful tool when you have a poor local environment, e.g. an aging Intel MacBook. That said, there&amp;rsquo;s  limitations too.&lt;/p&gt;
&lt;h2 id=&#34;what-are-codespaces&#34;&gt;What are Codespaces&lt;/h2&gt;
&lt;p&gt;Github codespaces are development environments in the cloud. They allow you to develop from your browser. Opening a codespace displays a VS Code IDE. You can install libraries, dependencies and tools. You can run any code you write in the terminal.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
