Nobody's permission is required to write apps for your own iOS device.
Unless you were talking about jailbreaking.
Freedom to modify is not the same as zero cost. You paid for the iPhone hardware, after all. Just pretend it cost $99 more and came with the right to load your own apps.