Error messages in logs

When we could not detect xcode version / folder / sdk version, also log the error.
Merge pull request #3454 from varzan/patch-1

Error messages in logs