I am a new with iphone development and want to test my application on my iphone . I have paid $100 but can not find any way to workout how to do that . There are some refere
First you have to get your developer certificate/keys set up on your mac. See the developer portal where there are detailed instructions on how to get this set up.
Once you have your certificate, plug in your device, and press cmd + shift + 2 in XCode - to load up the organizer. Select the devices pane, click on your device, and click the 'use for development' button. It will ask you to put your username/password in for your dev account, and then it will enable your device for development. After it has been enabled, you simply select it as the target to build to in the top-left of the main Xcode window.
I know this question has been answered already, but I have had a lot of hair pulling trying to get XCode4 to install directly to my device. Heaven help you if you are trying to get multiple machines to install to the same device.
My best advice, let XCode4 do all the work for you. Trying to manually configure your certificates will only lead you to bashing your computer or device to smithereens.
If you get stuck, or only get half of it working, follow these steps.
I had a terrible run of trial and error to get these working as I was working between the normal Xcode and the beta build. I don't wish code signing issues on my worst enemy. Hopefully this will work for you and anyone else that runs into issues with it. Good luck!