Do I have to purchase an apple device before I can create provisioning profile?

I am total new on ios development . When I try to compile my first program in iOS , the xcode system tell me

I am failed to create provisioning profile, because there are no devices registered in my acccount on the developer

website. It need me to plug a device to have Xcode register it.

Was that mean I cann't develop an ios program before I purchase an ios device?

Replies

It's not clear - do you have a paid Developer Program account, or you are attempting to work with Xcode's free provisioning...?