This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| publish_to_appstore [2024/08/14 11:13] admin | publish_to_appstore [2024/08/17 20:06] (current) admin | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| # In App Purchase | # In App Purchase | ||
| - | Follow Overall Guidance: [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/overview-for-configuring-in-app-purchases/|Overview for configuring in-app purchases]] | + | 1. Use StoreKit 2 to implement purchasing features in you app. [[https://developer.apple.com/videos/play/wwdc2021/10114/|WWDC tutorial and code]] | 
| - | 1. Create In-App-Purchase from App Store Connect page [[https://developer.apple.com/help/app-store-connect/manage-in-app-purchases/create-consumable-or-non-consumable-in-app-purchases/|Ref]] | + | 2. Test locally (StoreKit configuration). [[https://developer.apple.com/documentation/xcode/setting-up-storekit-testing-in-xcode?language=objc| StoreKit Testing Setup]] | 
| + | |||
| + | 3. Configure App Store Connect: [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/overview-for-configuring-in-app-purchases/|Overview for configuring in-app purchases]] | ||
| + | |||
| + | 1. Create In-App-Purchase from App Store Connect page [[https://developer.apple.com/help/app-store-connect/manage-in-app-purchases/create-consumable-or-non-consumable-in-app-purchases/|Ref]] {{:pasted:20240814-110226.png}} | ||
| + | |||
| + | 2. Generate In-App-Purchase key [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/generate-keys-for-in-app-purchases|Ref]] | ||
| + | |||
| + | 3. Add Capability to my app: [[https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app|Ref]] | ||
| + | |||
| + | 4. Test with App Store Connect (using Sandbox in Test Flight): [[https://developer.apple.com/documentation/storekit/in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_the_sandbox?language=objc|Ref]] | ||
| <file> | <file> | ||
| Line 28: | Line 38: | ||
| - com.example.myapp.gold_coins_100 | - com.example.myapp.gold_coins_100 | ||
| </file> | </file> | ||
| - | |||
| - | {{:pasted:20240814-110226.png}} | ||
| - | |||
| - | 2. Generate In-App-Purchase key [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/generate-keys-for-in-app-purchases|Ref]] | ||