react-native-purchases icon indicating copy to clipboard operation
react-native-purchases copied to clipboard

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

Open Makhdoom-Sharif opened this issue 1 year ago • 2 comments

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:

  • Update react-native-purchases from 7.15.0 to 8.2.6.
  • Set the iOS deployment target to 13.0 in Xcode.
  • Remove existing Pods and reinstall by running pod install.

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

Makhdoom-Sharif avatar Nov 12 '24 19:11 Makhdoom-Sharif

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

RCGitBot avatar Nov 12 '24 19:11 RCGitBot

@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?

aboedo avatar Nov 12 '24 21:11 aboedo