Build for debug is just press on the PLAY symbol, but I don\'t know how to Build for distribution/release?
Product -> Archive, later, press the distribute button and check the option Export as Application or what you want