Arduino on Xcode Project — Official Thread

embedXcode uses the first serial port found.

You need to unplug and plug the boards it you want to upload to a specific board.