Expensify/react-native-live-markdown

Linker command failed when `USE_FRAMEWORKS=dynamic`

Opened this issue · 0 comments

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)