React-native-image-crop-picker: Not working with react-native v0.60.0

Created on 3 Jul 2019  路  11Comments  路  Source: ivpusic/react-native-image-crop-picker

Version

Tell us which versions you are using:

  • react-native-image-crop-picker v0.24.1
  • react-native v0.60.0

Platform

  • iOS

Expected behaviour

To compile with pod install

Actual behaviour

It won't compile

Steps to reproduce

  1. react-native init app

  2. cd app/ios

  3. pod install

// stacktrace or any other useful debug info
[!] CocoaPods could not find compatible versions for pod "React/Core":
In Podfile:
RNImageCropPicker (from /Users/testuser/rntestsix/node_modules/react-native-image-crop-picker) was resolved to 0.24.1, which depends on
React/Core

None of your spec sources contain a spec satisfying the dependency: React/Core.

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

Most helpful comment

You can temporary do a workaround by changing
s.dependency 'React/Core'
to
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
in RNImageCropPicker.podspec file then pod install again.

All 11 comments

馃憤 Same issue. It would be great to add [email protected] support

You can temporary do a workaround by changing
s.dependency 'React/Core'
to
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
in RNImageCropPicker.podspec file then pod install again.

You can temporary do a workaround by changing
s.dependency 'React/Core'
to
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
in RNImageCropPicker.podspec file then pod install again.

Yes it was just that, it works fine now.
Thank you @tueht for the workaround!

You can temporary do a workaround by changing
s.dependency 'React/Core'
to
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
in RNImageCropPicker.podspec file then pod install again.

Thanks, but it is not really good solution for production projects. I have automated builds on CI, so changing something in node_modules will not work at all, because installation of packages is fully automated.

Thank you

Already patched this problem and just requires merge. Please merge it

https://github.com/ivpusic/react-native-image-crop-picker/pull/1019

have same problom,
can you tell me when this branch is going to merged ?

@ivpusic Could you please bump npm package version with this fix?

version with support for androidx and react-native 0.60 released.

user version 0.25.0 instead of the last version worked for me

user version 0.25.0 instead of the last version worked for me

It worked for me. Thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

equesteo picture equesteo  路  3Comments

habovh picture habovh  路  3Comments

phantom1299 picture phantom1299  路  3Comments

pavsidhu picture pavsidhu  路  3Comments

tximpa91 picture tximpa91  路  3Comments