It depends on what your definition of "pay / subscribe / be in the Apple Store".
Yes, you must pay an Apple iPhone Developer subscription to access the provisioning profile so that you can host the application you created on your iPhone / iPod. It will cost you $ 99.
The dev tools (Xcode / Interface Builder) are free, but without subscribing to the dev program you cannot place your application on a physical device, only in the emulator.
But no, you donโt need to distribute your application through the application store to deploy it to your own phone. However, if you do not distribute the application through the application store, then it will ultimately not be digitally signed by Apple, and after the expiration of your provisioning profile, you will not be able to launch the application on your phone until you update the provisioning profile.
source share