In app purchase 2 Xcode build failure


I am getting a build failure when building the project in Xcode. The error seems related to the inapp purchase (error started after installing the inapp purchase 2). Error is: “No visible @interface for ‘SKPaymentQueue’ declares the selector 'presentCodeRedemptionSheet”.

I found similar issue with react-native-iap, which the solution was to downgrade it.

Does any one knows if this is similar and if I need to downgrade the iap? I am using the latest V5.30.


Hello did you find a solution ?

Yes. I had an old build (11.x), I upgraded to latest 12 and the issues was resolved.


1 Like

Thank you for your reply.
You are talking about xcode, right?

1 Like