question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to get products (empty product array) on xCode 12.3. But working successfully on xCode 11.3 & 12.1

See original GitHub issue

Version 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

  1. Building project on xCode 12.3
  2. try to load products using RNIap.getProducts(itemSkus);
  3. Getting empty list of products

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Mihai-githubcommented, Feb 23, 2022

Where do I get this storekitConfig file?

1reaction
ilyakarcommented, Oct 6, 2021

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: image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found