title: XCode does not build Unity3D Project: lib not found
body: <p>I have Unity3D project and I built it for iOS. If I run it using XCode's simulator it works fine. But if I want to compile it for &quot;iOS Device&quot; or for a physical device connected to my Mac, I get lots of errors and as a result I can't create an Archive.
  For a testing purpose, I even created an empty Unity3D project, built it for iOS and still get the same errors, although this project does absolutely nothing.
  The errors are the following:</p>
  <blockquote>
  <p>ld: library not found for -liPhone-lib</p>
  <p>clang: error: linker command failed with exit code 1 (use -v to see invocation)</p>
  </blockquote>
  <p>And these are the settings I use:</p>
  <ul>
  <li>Architectures: armv7, armv7s, arm64  (also tried removing arm64 without any positive result)</li>
  <li>Base SDK: iOS 7.1</li>
  <li>Build active: no</li>
  <li>Supported platform: iOS</li>
  <li>Valid arch:  armv7, armv7s, arm64</li>
  </ul>
  <p>I use XCode 5.1.1 and Unity 4.5.1 (previously even tried 4.3.2)</p>
  <p><strong>How can I build the project and create the Archive?</strong></p>