ios - Xcode 7 compilerc command failed error


Keywords:ios 


Question: 

I just upgraded Xcode to 7.1 recently. Now I cannot compile my code. It says:

The following build commands failed:

CompileC /Users/User_Name/Library/Developer/Xcode/DerivedData/StudywizSchool-bbmsbrwirrgkhwghtalynzbkavjz/Build/Intermediates/StudywizSchool.build/Release-iphoneos/StudywizSchool.build/Objects-normal/armv7/SWELockerItem-570C86C95F8D9976.o shared/model/SWELockerItem.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

While I don't know why it failed I thought llvm compiler should be higher than 1.0? If so how could I upgrade it? Thanks in advance!


1 Answer: 

I hope this will work - Change your Deployment Target and then clean and run the application.