hyochan / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.hyo.dev
MIT License
2.83k stars 643 forks source link

[IOS] Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_RNIapIos", referenced from: #2277

Open AndrewBets opened 1 year ago

AndrewBets commented 1 year ago

Version of react-native-iap 9.0.0

Version of react-native 0.58.6

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

Tested environment (Emulator? Real Device?) Getting error when run app on emulator

Error : Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_RNIapIos", referenced from: objc-class-ref in libRNIap.a(RNIapIos.o) __OBJC_$_CATEGORY_RNIapIos_$_RCTExternModule in libRNIap.a(RNIapIos.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is there way to fixed this issue on IOS?

Screenshot 2023-03-09 at 10 09 14 PM
AndrewBets commented 1 year ago

I am still having the same issue

andresesfm commented 1 year ago

Still as in the latest version or still on the old version?

AndrewBets commented 1 year ago

I am using Version of react-native-iap 9.0.0

AndrewBets commented 1 year ago

@andresesfm Previously I am using react-native-iap : "^4.0.3" but now I am using "^9.0.0" versions. I am getting Undefined symbol: _OBJCCLASS$_RNIapIos error