How can I have my app developed with XCode in my iphone forever?

So I just managed to build one app for personal use that I want to use daily in my iphone. However, once installed in my device through XCode, after one week the application is no longer available.

I'm aware about the one week trial for free users and one year for a paid account, but... for real? Isn't there an alternative? And if not... does it means that in order to use my app for let's say 5 years I will have to pay 500$? Is just a bit crazy to think about it but I did look on the internet and did not found a clear information about how this works.

Thank you in advance :)

You just have to use Xcode to put an updated version of the app on your iOS device once in a while. That's normal. Even as a paid app developer, development builds have a limited time before they expire. Just connect the device and run the app through Xcode again.

The only way you can create an app that runs forever on an iOS device is to install the app through the App Store. But that requires you to be a paid developer and your app needs to be something usable by many people and reviewed and approved by Apple.

Even apps loaded via Test Flight only last 90 days.

How can I have my app developed with XCode in my iphone forever?
 
 
Q