Apple doesn't want you developing hobby apps
Apple still charges a $99 yearly developer fee, even if you don’t want to publish your app on the Appstore!
Source: Apple doesn’t want you developing hobby apps - Bennett Notes
The solution seems simple. Build using open platforms like Linux, the web, and (to a much lesser extent) Android instead.