I am currently implementing in-app purchases. I have implemented simple in-app purchases using product.storekit within Xcode, and now I am developing to sell products by implementing auto-renewable subscriptions. Do I necessarily need to create my own personal server to use receipt information? I have never created a server before. Also, if I only want to implement simple in-app purchases, do I still need a personal server?
No, having a server is not necessary. And it sounds like you will find StoreKit views useful. This was announced at WWDC23: Meet StoreKit for SwiftUI. Some other useful resources to start with when implementing in-app purchases include:
- What’s new in StoreKit 2 and StoreKit Testing in Xcode
- Implement proactive in-app purchase restore
- What’s new in App Store pricing
That said, as your business grows, you might find App Store server notifications and App Store Server APIs can help you manage your subscribers. There are many WWDC sessions on these as well: search for "server notifications" and "server api".