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.

No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet'

See original GitHub issue

Version of react-native-iap

5.2.0

Version of react-native

0.62.2

Platforms you faced the error (IOS or Android or both?)

IOS

Expected behavior

Able to run/build the app using Xcode or terminal

Actual behavior

Build failed due to this error No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet' ios/RNIapIos.m at line 330

Tested environment (Emulator? Real Device?)

Simulator Xcode version 11.6

Steps to reproduce the behavior

  • yarn add react-native-iap
  • npx pod-install
  • xed ./ios
  • run the app

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
junedomingocommented, Dec 10, 2020

Thanks @leotm , it worked. error is related to this pr https://github.com/dooboolab/react-native-iap/pull/1201

1reaction
leotmcommented, Dec 9, 2020

Downgrading to "react-native-iap": "5.1.3" works (builds successfully), sticking with it for now.

Screenshot 2020-12-09 at 16 16 14

Could be I’m still on XCode 11.5, not on 12.1 yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No visible @interface for 'SKPaymentQueue' declares the ...
Since upgrading to react-native-iap 5.2.0. Error. No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet'.
Read more >
No visible @interface for 'SKPaymentQueue' declares the ...
No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet' #39 · Comments · Footer.
Read more >
No visible @interface | Apple Developer Forums
The error is: No visible @interface for 'NSTreeNode' declares the selector 'count' ... The property myTreeController is declared in the header file as....
Read more >
In app purchase 2 Xcode build failure - Ionic Forum
Error is: “No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet”.
Read more >
Build fail: ARC semantic issue - no visible @interface for ...
no visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet' i don't know hot to resolve the issue, ...
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