There are 2 compilation errors in my project (display in Xcode).
But when I use xcodebuild to compile the project in the terminal, only one compilation error is displayed
xxx$xcodebuild -sdk iphoneos -configuration Debug
....
....
[self updateAccountInfo];1
^
1 warning and 1 error generated.
Is it possible to make xcodebuild display all compilation errors?
In the Xcode setup on the General tab, check the box "Continue building after errors." asked here
I need to use xcodebuild to do the same.
EDIT:
After thinking and researching these days, I think xcodebuild cannot do this. It is different from xcode. When we use xcode to compile an iOS project, xcode compiles each .m by clang. Thus, xcode has the function "Continue creation after errors"