/h3>

<p>Select Xcode menu <code>File &gt; Swift Packages &gt; Add Package Dependency</code> and enter repository URL with GUI.  </p>
<pre class="highlight plaintext"><code>Repository: https://github.com/ra1028/DifferenceKit
</code></pre>
<h3 id='a-href-https-swift-org-package-manager-swift-package-manager-a' class='heading'><a href="https://swift.org/package-manager/">Swift Package Manager</a></h3>

<p>Add the following to the dependencies of your <code>Package.swift</code>:</p>
<pre class="highlight swift