Xcode command line build error with com.apple.compilers.llvm.clang.1_0.compiler

Xcode Version: Version 7.2 (7C68)
Construction for PhoneGAP IOS Commands
Used:

xcodebuild -project HelloCordova.xcodeproj -scheme HelloCordova -configuration Release -sdk iphonesimulator IDENTIFIER=com.kony.SyncApp build 

It worked well, before updating Xcode after upgrading to 7.2, I ran into this problem. And the same wokring form the XCODE interface. The problem with building the command line

Error Information:

fatal error: too many errors were made, stopping now [-ferror-limit =] 20 errors were generated.

** BUILD FAILED **

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

(2 failures)

found some links, but these links didn't help.
Apple LLVM Compiler 3.1 clang error
Unsupported compiler 'com.apple.compilers.llvm.clang.1_0' selected for 'x86_64' architecture on Xcode 7 Beta 2

+4
1

, Xcode 7.2 ( 7.2.1), . https://openradar.appspot.com/23857648 , xcodebuild ARCH PLATFORM_NAME -sdk iphonesimulator.

: xcodebuild:

1) -destination, :

xcodebuild [...] -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6'

2) PLATFORM, :

xcodebuild [...] -sdk iphonesimulator PLATFORM_NAME=iphonesimulator
+1

Source: https://habr.com/ru/post/1626826/


All Articles