react-native-live-markdown icon indicating copy to clipboard operation
react-native-live-markdown copied to clipboard

Issue when running pod install

Open Lump01 opened this issue 6 months ago • 0 comments

I'm getting this error when running pod install and RCT_NEW_ARCH_ENABLED=0 pod install:

[!] Invalid `Podfile` file: 
[!] Invalid `RNLiveMarkdown.podspec` file: undefined method `add_dependency' for Pod:Module.

 #  from $PROJECT_DIR/node_modules/@expensify/react-native-live-markdown/RNLiveMarkdown.podspec:26
 #  -------------------------------------------
 #    if ENV['USE_FRAMEWORKS'] && ENV['RCT_NEW_ARCH_ENABLED']
 >      add_dependency(s, "React-Fabric", :additional_framework_paths => [
 #        "react/renderer/textlayoutmanager/platform/ios",
 #  -------------------------------------------
.

 #  from $PROJECT_DIR/ios/Podfile:12
 #  -------------------------------------------
 >    config = use_native_modules!
 #  
 #  -------------------------------------------

Versions:

"react-native": "0.72.3",
"@expensify/react-native-live-markdown": "0.1.113",
"react": "18.2.0",

The new architecture is not enabled on my project and I also disabled it with the RCT_NEW_ARCH_ENABLED flag in my pod install.

Lump01 avatar Aug 14 '24 15:08 Lump01