I have an app that I intend to distribute via the App store. Currently, the user purchases a license from the website, he receives a key via email and our web server validates the license key entered by the user in the application. Is it possible to distribute the app in the App Store without any change ie:the user purchase on app store,he receives a key.

Can i distribute the trial version as free on App store?

1 Answer 1


Licensing Schemes

No, applications can not use their own key based licensing system with purchases being handled by Apple's App Store.

See Apple's Validate app and in-app purchase receipts with the App Store documentation about how to handle App Store purchases and the Receipt Validation Programming Guide.

See WWDC 2018 > Engineering Subscriptions for more information on implementing receipt validation for apps that contain auto-renewable subscription products.

Apple does not provide licensing sample code. Apple fear that if everyone uses the same implementation, it becomes trivial to bypass. If you need code level help, contact Apple and use a Technical Support Incident.


Apple does not accept free trials in the App Store. Applications must have value that does not expire. In-app purchases can be used to unlock additional features. See App Store Review Guidelines.

  • Can you please point me to some articles on how to check if the app was purchased from the app store in a macOS app ie: Validation
    – techno
    Commented Mar 5, 2020 at 6:44
  • See Receipt Validation Programming Guide Commented Mar 5, 2020 at 10:01
  • There are no examples in the guide.What validation you perform? Local or Online? Seems local validation is complex.Can you guide me with some SWIFT sample code.
    – techno
    Commented Mar 23, 2020 at 7:13
  • I have added Apple's Engineering Subscriptions link. Commented Mar 23, 2020 at 8:13
  • How can i get the app with the receipt for testing ?
    – techno
    Commented Mar 23, 2020 at 8:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .