Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
Validate.CheckReceipt
Component: Validate
Version: 2.2
Mac OS X: Works
Windows: Does nothing
MBS( "Validate.CheckReceipt"; ReceiptPath; BundleVersion; BundleID )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| ReceiptPath | The path to your application. | MBS( "Validate.FindReceipt" ) |
| BundleVersion | The bundle Version of your application. | "1.0" |
| BundleID | The bundle ID for your application. | "de.monkeybreadsoftware.test" |
Result
Returns OK or error code 173.
Description
Validates the receipt.If you upload your application the Mac App Store, Apple will deliver it with a receipt file included. It is your job to validate this receipt file to avoid unlimited copies of your application. You can pass the path to Apples sample receipt and bundle version "1.0.2" and bundle identifier "com.example.SampleApp" to test with the sample receipt.
Examples
MBS( "Validate.Exit"; MBS( "Validate.CheckReceipt"; MBS( "Validate.FindReceipt" ); "1.0"; "de.monkeybreadsoftware.test" ) )
Feedback: Report problem or ask question.
Links
MBS Real Studio Plugins - Förderverein St. Arnulf Nickenich