I am using xCode 4.3.1. After i created a project, i build it and tried to Archive. Then i got an error saying; (This is my first project in xCode 4.3.1)
You can get around this by using the simulator if you don't actually need to be deploying to a device. That solved it for me.