In order to run it on your iPhone, you'll have to pay Apple $100 per year. Or find somebody who is already in Apple Developer program, ask him to add your iPhone ID.
No. You need the $99USD/year iOS developer program from Apple to be able to compile it and install it on an actual iOS device (without it being jail broken).