Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

Submitting to App Store with Receipt Checking

$
0
0

We have learned that in order to get our Mac app into the App Store we need to check that it's has a valid receipt and that iTunes user obtained it from the App Store.

We have also learned that this is not a common topic and is not really documented by Xamarin.

I did find this topic:
https://forums.xamarin.com/discussion/29794/how-can-i-validate-mac-app-store-receipt-locally

Which got me pointed in the right direction. However Xamarin.Mac by default does not have an "int main()" function. The main function is void. It's unclear how to handle the case that the receipt is invalid in Xamarins C# version of this structure.

Also Xamarin.Mac does not contain a binding project like Xamarin.iOS, so I can not just drop this Objective-C code in. It's really hard to believe that up until now no one has submitted a Xamarin.Mac app to the app store. You'd think this would be a pretty important topic to cover in the online documentation. Especially given the premium cost to have individual Mac developer licenses.

I would love to know if there is a simple solution to getting this validation in our code as all the solutions seem to be complex.

Things I am considering:
1. Writing this big Obj-C class in C# which somehow can call "exit(173)" by thumbing through the code line by line
2. Creating a binding somehow

Can anyone out there save me some time?


Viewing all articles
Browse latest Browse all 1429

Latest Images

Trending Articles



Latest Images