The problem often lies in the fact that the error occurred above the stack, but then the message is completely absent at the time when Xcode displays an error message. Try to run:
xcodebuild | Grep error
and he often gives more helpful tips than before.
source
share