RevenueCat / react-native-purchases

React Native in-app purchases and subscriptions made easy. Support for iOS and Android.
https://www.revenuecat.com
MIT License
773 stars 84 forks source link

Undefined symbol: absl::lts_20240116::CHexEscape(absl::lts_20240116::string_view) #1129

Open Makhdoom-Sharif opened 1 week ago

Makhdoom-Sharif commented 1 week ago

Describe the bug I'm experiencing an undefined symbol error after updating the react-native-purchases package from version 7.15.0 to 8.2.6 in a React Native project (React Native version 0.72.3). The error occurs when building the iOS app, even though the minimum iOS deployment target is correctly set to 13.0.

  1. Environment
    1. Platform: ios
    2. SDK version: 8.2.6
    3. OS version: 17.4
    4. Xcode/Android Studio version: 15.4 (15F31d)
    5. React Native version: 0.72.3
    6. SDK installation (CocoaPods + version or manual): 1.16.0

2.Steps to Reproduce:

Expected Behavior The iOS build should complete successfully without throwing any errors related to undefined symbols

Screenshot 2024-11-13 at 12 05 44 AM

RCGitBot commented 1 week ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

aboedo commented 1 week ago

@Makhdoom-Sharif those undefined symbols aren't related to our SDK at all, I think they're probably a dependency of react-native itself or a different library? In any case, I would recommend deleting node-modules and reinstalling the SDK to see if it works?