Checkout this answer from Stackoverflow
https://stackoverflow.com/questions/30060898/xcode-how-to-see-build-command-and-log
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: