Not able to get products (empty product array) on xCode 12.3. But working successfully on xCode 11.3 & 12.1
See original GitHub issueVersion of react-native-iap
“react-native-iap”: “^5.1.1”
Version of react-native
“react”: “16.13.1”, “react-native”: “0.63.2”,
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
Should Load products which are defined in apple console on xCode 12.3
Actual behavior
Getting empty array of products when calling RNIap.getProducts(itemSkus);
It is successfully working on xCode 11.3 & 12.1 but not getting products on 12.3
Tested environment (Emulator? Real Device?)
Both Real device and Simulator
Steps to reproduce the behavior
- Building project on xCode 12.3
- try to load products using
RNIap.getProducts(itemSkus);
- Getting empty list of products
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Xcode 12 beta 4 - error compiling … | Apple Developer Forums
Try upgrading the Project Xcode compatibility to Xcode 11 and change the VALIDARCHS to $(ARCHSSTANDARD). It worked for me. Posted 2 years ago...
Read more >Importing Project-Swift.h into a Objective-C class...file not found
I was running into the same issue and couldn't get my project to import swift into obj-c classes. Using Xcode 6, (should work...
Read more >Creating .ipa Files for Appium and XCUITest
In the Product menu, select Build. Navigate to your Xcode project's Products directory and find the generated .app file.
Read more >Unable to deploy my iOS app - Microsoft Q&A
Try to open Xcode, and check if there are any updates (the latest version is 13.4.1), or if there are any Xcode components...
Read more >How to fix the error "The developer of this app needs to update ...
[ Starting April 2022, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Where do I get this storekitConfig file?
Tried everything. Confirmed, for me it was the need to add a StoreKit file (even when debugging on a real device). Then, don’t forget to link the StoreKit file in Product -> Schemes -> Edit Scheme: