How to remove unwanted architecture x86_64 from Xcode build?
<p>I am trying to recompile someone else's code. The code includes a reference to a third party library myLib.a, which has two slices:</p>

<pre><code>Architectures in the fat file: myLib.a are: armv7 arm64 
</code></pre>

<p>I get this warning, following by a bunch of link errors:</p>

<pre><code>ld: warning: ignoring file myLib.a, missing required architecture x86_64 in file myLib.a (2 slices)
</code></pre>

<p>Now, I know this library is not intended to work in a simulator. So I want to throw the simulator away from build. I don't really understand build targets, so I did this:</p>

<p><a href="https://i.stack.imgur.com/TUICu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TUICu.png" alt="enter image description here"></a></p>

<p>Still, same error. What am I doing wrong?</p>

<p>Xcode 7.3 </p>