Expensify / react-native-live-markdown

Drop-in replacement for React Native's TextInput component with Markdown formatting.
https://www.npmjs.com/package/@expensify/react-native-live-markdown
MIT License
670 stars 45 forks source link

Linker command failed when `USE_FRAMEWORKS=dynamic` #321

Open tomekzaw opened 2 months ago

tomekzaw commented 2 months ago

Repro

cd42c45

yarn
cd example/ios
NO_FLIPPER=1 USE_FRAMEWORKS=dynamic pod install
cd ..
xed ios
# Run Xcode build

Error

ld: Undefined symbols:
  _OBJC_CLASS_$_RCTBackedTextFieldDelegateAdapter, referenced from:
      __OBJC_$_CATEGORY_RCTBackedTextFieldDelegateAdapter_$_Markdown in RCTBackedTextFieldDelegateAdapter+Markdown.o
  _OBJC_CLASS_$_RCTBaseTextInputView, referenced from:
       in MarkdownTextInputDecoratorView.o
      __OBJC_$_CATEGORY_RCTBaseTextInputView_$_Markdown in RCTBaseTextInputView+Markdown.o
  _OBJC_CLASS_$_RCTUITextField, referenced from:
       in MarkdownTextInputDecoratorView.o
  _OBJC_CLASS_$_RCTUITextView, referenced from:
       in MarkdownTextInputDecoratorView.o
      l_OBJC_CLASSLIST_SUP_REFS_$_ in RCTUITextView+Markdown.o
      __OBJC_$_CATEGORY_RCTUITextView_$_Markdown in RCTUITextView+Markdown.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)