The most common way is to pay $99 and use Xcode. I think in the long run, limiting the freedom of developers to choose whichever tools they like is actually hurting Apple, but let's not pretend that there is no practical way of running your own software on iOS.