Tell us which versions you are using:
Tell us to which platform this issue is related
Build without warnings.
When run react-native run-ios, there's warning: The file reference for "Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h" is a member of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
The same problem
Exact the same behaviour here. Except I'm working on [email protected]
Same problem here.
Exact the same behaviour here. Except I'm working on
[email protected]
Had to roll back to @0.30.0
The issue is caused by the TOCropViewController pod. see: https://github.com/TimOliver/TOCropViewController/issues/424
As a temporary fix (till TOCropViewController will be fixed) I've changed the file:
node_modules/react-native-image-crop-picker/RNImageCropPicker.podspec at line 16
from
s.dependency 'TOCropViewController'
to
s.dependency 'TOCropViewController', '2.5.3'
Than, I used the patch-package (https://github.com/ds300/patch-package) to create a patch with the changes.
Same warning! :(

Clearing a specific pod
Inside folder ios/
pod cache clean --all # will clean all pods
Which pod cache do you want to remove?
Complete cleanup (pod reset)
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
pod deintegrate
pod setup
pod install
Retry run-ios, todo OK!
@djimenezlegend you're almost reinstalling your whole operating system lol - all you had to do was to pin the version like @predescu mentioned and do a clean & reinstall
Most helpful comment
As a temporary fix (till TOCropViewController will be fixed) I've changed the file:
node_modules/react-native-image-crop-picker/RNImageCropPicker.podspecat line 16from
s.dependency 'TOCropViewController'to
s.dependency 'TOCropViewController', '2.5.3'Than, I used the patch-package (https://github.com/ds300/patch-package) to create a patch with the changes.