While I’d really like Xcode to provide an internal window for terminal, this is a nice piece of work from Damjan Dimovski on an integration shortcut that fires up terminal (of your choice) in the project folder:
https://medium.com/@damjandimovski/open-terminal-from-xcode-9e4c10f7ace1