-
[React-Native][iOS][Error] [!] No podspec found for RNCharts in ../node_modules/react-native-charts-wrapperReact-Native/Error 2023. 1. 9. 22:31
pod install 하는 과정에서 'react-native-charts-wrapper'에서 'RNCharts'를 찾을 수 없다는 에러가 발생했습니다.
해결방안
ios/Podfile
pod 'RNCharts', :path => '../node_modules/react-native-charts-wrapper'
to
pod 'react-native-charts-wrapper', :path => '../node_modules/react-native-charts-wrapper'
참고
https://github.com/wuxudong/react-native-charts-wrapper/issues/864#issuecomment-1145729565
[!] No podspec found for `RNCharts` in `../node_modules/react-native-charts-wrapper` · Issue #864 · wuxudong/react-native-char
Do read files under lib/* before reporting issues, you can find all the config there, all of them are straightforward. Expected Behavior Change the name of the pod file should be a breaking change ...
github.com
혹시 이렇게 하고 pod install 했는데 아래와 같은 Error가 발생할 수도 있습니다.
위의 Error는 ios의 최소 target version을 맞춰라는 Error입니다.
해결방안
ios/Podfile
저는 platform :ios를 처음엔 11.0 -> 12.0으로 올려서 pod install을 진행을 하니 정상적으로 성공하였습니다.
'React-Native > Error' 카테고리의 다른 글