xcode command line build failed with com.apple.compilers.llvm.clang.1_0.compiler
<p>XCode Version: Version 7.2 (7C68)<br>
Building for PhoneGAP IOS<br>
Commands used: <br></p>

<pre><code>xcodebuild -project HelloCordova.xcodeproj -scheme HelloCordova -configuration Release -sdk iphonesimulator IDENTIFIER=com.kony.SyncApp build 
</code></pre>

<p>It used to work well before upgrading Xcode after upgrading to 7.2 , i am facing this issue. And same wokring form XCODE UI
Problem with command line build</p>

<p>Error Info:</p>

<blockquote>
  <p>fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.</p>
</blockquote>

<p>** BUILD FAILED **</p>

<pre><code>The following build commands failed:
    ProcessPCH /Users/konysync/Library/Developer/Xcode/DerivedData/HelloCordova-gyroiomjvclmgtfewwtckeoypgfd/Build/Intermediates/PrecompiledHeaders/CordovaLib_Prefix-almeazhzuslzcvewimbluxlrnwby/CordovaLib_Prefix.pch.pch CordovaLib_Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    ProcessPCH /Users/konysync/Library/Developer/Xcode/DerivedData/HelloCordova-gyroiomjvclmgtfewwtckeoypgfd/Build/Intermediates/PrecompiledHeaders/CordovaLib_Prefix-bvlrmrstkahcccfcihrhcdumeenk/CordovaLib_Prefix.pch.pch CordovaLib_Prefix.pch normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
</code></pre>

<h2>(2 failures)</h2>

<p>found some links , but those links did not help.<br>
<a href="https://stackoverflow.com/questions/9457510/apple-llvm-compiler-3-1-error-clang">Apple LLVM Compiler 3.1 error clang</a> <br>
<a href="https://stackoverflow.com/questions/31152170/unsupported-compiler-com-apple-compilers-llvm-clang-1-0-selected-for-architect">Unsupported compiler &#39;com.apple.compilers.llvm.clang.1_0&#39; selected for architecture &#39;x86_64&#39; on Xcode 7 Beta 2</a> <br></p>