StoreKit is Apple's framework for handling in-app purchases and other store-related transactions on iOS.
When developing a Unity game with in-app purchases, Unity IAP can provide a cross-platform layer for managing purchases. However, the products must still be configured correctly for the Apple ecosystem.
This guide explains the iOS side of the Unity IAP workflow.
Before configuring purchases for iOS, make sure you have:
- A Unity project with Unity IAP installed
- A valid Bundle Identifier
- An application configured for iOS distribution
- Access to the required Apple developer and app management tools
- Product IDs planned for your game
Your Unity product IDs should match the corresponding products configured for your iOS application.
Before creating products, decide how each purchase should behave.
Common purchase types include:
Consumable products can generally be purchased multiple times.
Examples:
- Coins
- Gems
- Extra lives
- Temporary power-ups
Example Product ID:
com.yourcompany.yourgame.coins100