In my program I need to create sockets and bind them to listen HTTP port (80). The program works fine when I launch it from command line with sudo, escalating permissions to
In Xcode 4.5 Product->Edit Scheme: Look in the Info tab under Debug Process As and choose the root option.