参考文章:
https://stackoverflow.com/questions/53477564/skproductsrequest-returns-no-product-in-production-environment
https://stackoverflow.com/questions/39962649/missing-in-app-purchase-section-in-itunes-connect
https://developer.apple.com/library/archive/technotes/tn2413/_index.html
1. 第一次提交内购项目审核通过后的生效规则
https://stackoverflow.com/questions/53477564/skproductsrequest-returns-no-product-in-production-environment
https://stackoverflow.com/questions/39962649/missing-in-app-purchase-section-in-itunes-connect
https://developer.apple.com/library/archive/technotes/tn2413/_index.html
1. 第一次提交内购项目审核通过后的生效规则
The problem was that, actually, you can't download a list of product until the application is in the "ready for sale" state. As stated in the In app Purchase FAQ:
"When an application is approved, the developer must also approve the application for release to the App Store. On approval, the application ID is activated to the App Store. The same activation is required for the in-app purchase identifiers and can only take place once the application is activated. In some cases, the activation of the In-App Purchase identifiers may lag up to 48 hours following the activation of the application. If the developer does not approve the release of the production application to the App Store, then any new in-app purchase identifiers will not be activated. This is an issue when a developer wants to verify the application prior to activating it on the App Store. If the desire is to test the in-app purchase process for the new items, the application must be activated to the App Store. This is only an issue for new in-app purchase identifiers in a corresponding application submission. Once these in-app purchase identifiers have been activated, application updates to the submission will find that these in-app purchase identifiers are validated, even if the update is not activated."
So if your application is in "pending developer release" status, you can't get the product list with an application downloaded through promotional codes. Once the app has been released on the store, the product list has shown correctly.
The problem was not related to provisioning profiles: the auto-generated provisioning profile is valid to submit applications with in-app purchases functionalities.
2.AppstoreConnect中找不到App内购项目设置
In-app purchases section in "App Store" tab visible only if you have atleast one in-app purchase with status "Ready to submit".
You will NOT see In-app purchases section in "App Store" tab while single/all purchase item/s in "Waiting for Review" status. They should be "Ready to Submit".
Simply do NOT press "Submit for Review" button from "Features" tab.
Just attach your purchase item/s from "App Store" tab and submit binary.
评论
发表评论