To test on Apple stores you must be using an iTunes connect test account, which can be created in iTunes connect.
Sign out of the app store on the iOS device or laptop, launch your application and you will be prompted to log in when you attempt either a purchase or to restore transactions.
If you receive an initialization failure with a reason of NoProductsAvailable
, follow this checklist:
When building a desktop Mac build you must select Mac App Store validation
within Unity’s build settings.
Once you have built your App, you must update its info.plist file with your bundle identifier and version strings. Right click on the .app
file and click show package contents
, locate the info.plist
file and update the CFBundleIdentifier
string to your application’s bundle identifier.
You must then sign, package and install your application. You will need to run the following commands from an OSX terminal:
codesign -f --deep -s "3rd Party Mac Developer Application: " your.app/Contents/Plugins/unibillosx.bundle
codesign -f --deep -s "3rd Party Mac Developer Application: " your.app
productbuild --component your.app /Applications --sign "3rd Party Mac Developer Installer: " your.pkg
In order to install the package correctly you must delete the unpackaged .app file before running the newly created package.
You must then launch your App from the Applications folder. The first time you do so, you will be prompted to enter your iTunes account details, for which you should enter your iTunes Connect test user account login. You will then be able to make test purchases against the sandbox environment.