title: Xcode 4.5 no such file or directory - libCordova.a
body: <p>clang: error: <strong>no such file or directory: '/Users/admin/Library/Developer/Xcode/DerivedData/__TESTING__-fzbkvdbnndieeagphtjhdndiyttl/Build/Products/Debug-iphoneos/libCordova.a'</strong></p>
  
  <p>How do I get this a missing <strong>libCordova.a</strong> ?</p>
  
  <p><a href="https://i.stack.imgur.com/NdAiG.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/NdAiG.png" alt="align top" title="tooltip"></a><br>
  <sub>(source: <a href="http://www.kerrydeaf.com/libCordova.a.png" rel="nofollow noreferrer">kerrydeaf.com</a>)</sub>  </p>
  
  <p>UPDATE: For Simon Germain.
  <a href="https://i.stack.imgur.com/MZ2GQ.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/MZ2GQ.png" alt="align top" title="tooltip"></a></p>
  
  <p>UPDATE: For Simon Germain. I don't see "Identity and Type". I can see "Identity". I'm using xcode 4.5
  <a href="https://i.stack.imgur.com/eYSIe.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/eYSIe.png" alt="align top" title="tooltip"></a><br>
  <sub>(source: <a href="http://www.kerrydeaf.com/id.png" rel="nofollow noreferrer">kerrydeaf.com</a>)</sub>  </p>
  
  <p><a href="https://i.stack.imgur.com/MZ2GQ.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/MZ2GQ.png" alt="align top" title="tooltip"></a></p>
  
  <p>UPDATE: For Simon Germain. I got the Identity.</p>
  
  <p><a href="https://i.stack.imgur.com/sq6HB.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/sq6HB.png" alt="align top" title="tooltip"></a><br>
  <sub>(source: <a href="http://www.kerrydeaf.com/cor.png" rel="nofollow noreferrer">kerrydeaf.com</a>)</sub>  </p>
  
  <p>UPDATE: For Samuel</p>
  
  <p><a href="https://i.stack.imgur.com/Wefwj.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/Wefwj.png" alt="align top" title="tooltip"></a><br>
  <sub>(source: <a href="http://www.kerrydeaf.com/armv6.png" rel="nofollow noreferrer">kerrydeaf.com</a>)</sub>  </p>
  
  <p>UPDATE: For Simon Germain - Architecture. </p>
  
  <p>UPDATE: For james0n - armv. </p>
  
  <p><a href="https://i.stack.imgur.com/57KDa.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/57KDa.png" alt="align top" title="tooltip"></a><br>
  <sub>(source: <a href="http://www.kerrydeaf.com/new.png" rel="nofollow noreferrer">kerrydeaf.com</a>)</sub>  </p>
  
  <p>UPDATE: For Simon Germain - Architecture. </p>
  
  <p>UPDATE: For james0n - armv. </p>
  
  <pre><code> Undefined symbols for architecture i386:
     "_OBJC_CLASS_$_CDVURLProtocol", referenced from:
         objc-class-ref in AppDelegate.o
     "_OBJC_CLASS_$_CDVViewController", referenced from:
         _OBJC_CLASS_$_MainViewController in MainViewController.o
     "_OBJC_METACLASS_$_CDVViewController", referenced from:
         _OBJC_METACLASS_$_MainViewController in MainViewController.o
   ld: symbol(s) not found for architecture i386
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>UPDATE: For james0n - Valid Architecture. </p>
  
  <p><a href="https://i.stack.imgur.com/zW6gB.png" rel="nofollow noreferrer" title="tooltip"><img src="https://i.stack.imgur.com/zW6gB.png" alt="align top" title="tooltip"></a><br>
  <sub>(source: <a href="http://www.kerrydeaf.com/valid.png" rel="nofollow noreferrer">kerrydeaf.com</a>)</sub>  </p>
  
  <p>UPDATE: It is now solved!!! make sure all armv7 and armv7s for ios 6 on all in xcode. It worked.</p>