Just click the schemes drop-down at the top and choose Edit scheme
. On the screen that opens, select Run
on the left, pick Release
rather than Debug
next to Build configuration
, and click Close. You may also want to uncheck Debug executable
on the latter screen.