title: Build asimple c++ static library of ios(for unity), but cannot find the .a file
body: <p>As the title mentioned, using macos 12.</p>
  <p>example.hpp</p>
  <pre><code>extern &quot;C&quot;{
  
  int summation();
  
  }
  </code></pre>
  <p>example.cpp</p>
  <pre><code>#include &quot;example.hpp&quot;
  
  extern &quot;C&quot;{
  
  int summation()
  {
      return 10;
  }
  
  }
  </code></pre>
  <p>Then I create an Xcode project-&gt;static lib, add example.hpp and example.cpp, configure the build phase to ios only. Click on build, the xcode tell me &quot;build succeeded&quot;, but I cannot find any .a file, even in the Xcode/DerivedData/*.</p>
  <p>This is the first time I try to build c++ plugin for unity on ios platform, please forgive my ignorance if any.</p>
  <p>Edit : I search the .a file shown in the full path(Image 00) but cannot find anything, color of the plugin is red color, weird</p>
  <p><a href="https://i.stack.imgur.com/0Ff33.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Ff33.png" alt="Image 00" /></a></p>