Tell us which versions you are using:
react-native-cli: 2.0.1
react-native: 0.61.1
[email protected]
Should compile successfully.
Not compiling since I upgraded from RN 0.59.4 to 0.61.1.
/Users/co-de/ReactNativeProjects/myProject/node_modules/react-native-image-crop-picker/ios/src/ImageCropPicker.h:15:9: 'RCTImageLoader.h' file not found
In file included from /Users/co-de/ReactNativeProjects/myProject/node_modules/react-native-image-crop-picker/ios/src/ImageCropPicker.m:10:
Podfile:
platform :ios, '9.0'
use_frameworks!
target 'myProject' do
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'RNCharts', :path => '../node_modules/react-native-charts-wrapper'
pod 'RNImageCropPicker', :path => '../node_modules/react-native-image-crop-picker'
pre_install do |installer|
installer.analysis_result.specifications.each do |s|
s.swift_version = '5.0' unless s.swift_version
end
end
end
Love react-native-image-crop-picker? Please consider supporting our collective:
馃憠 https://opencollective.com/react-native-image-crop-picker/donate
Facing the same issue
Fixed this, but we need to get this PR approved https://github.com/ivpusic/react-native-image-crop-picker/pull/1142
Meanwhile, you can npm i react-native-image-crop-picker@filipemerker/react-native-image-crop-picker
Most helpful comment
fix published https://github.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.26.0