The product ID is the bundle ID, the reverse-domain string you entered in standalone settings. Usually it starts with "com" or "org", etc. followed by the company name and then the app name.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
OK, understand. But it is not clear for me how to assign the right subscription. It is possible to add multiple subs in AppStore with different SKUs.How can I tell LC which SKU is the right one?
Sorry, I understand now. You can specify the product in mobileStoreMakePurchase. In the example, the product ID is "1", which you can substitute with your SKU.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
I'm not sure what would cause that, but LC should never crash so it's worth a bug report. Also, do you mean a crash (the app quits suddenly) or a hang (app is unresponsive)?
The SKU needs to be the same as the entry you set up in the developer console. Does your command match that exactly? Do they contain spaces or punctuation? I'm just guessing now.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Ive done this (copy/paste) from the LC Lesson and I replaced only the bundle ID & SKU.
The App crashed in iOS Simulator (quits) and also on physical devices without any answer. But only with my bundle ID & SKU not if I do this with the code from the lesson.
sure, it is the same SKU. Ive checked this with "123" -> No Problem. With "1234567890" -> quit. With my SKU (ABC123) -> Quit.
So in this case. in the following script, you just have to replace "com.runrev.sampleapp.nonconsumable" with the SKU of the subscription, as it appears in the AppStore Connect page. Note that the subscription SKU is a different thing from the App ID that is entered in the iOS standalone settings.
Thanks so much Panos, I think the lack of a match was the problem for some time but the issue remained. What I realised eventually was that the Paid App Agreement in Apple Connect was pending user info. I hadn't filled in my bank details. This wasn't a necessity in previous times but now it is.