React-native-image-crop-picker: (iOS) RSKImageCropper.h not found

Created on 12 Jan 2017  路  6Comments  路  Source: ivpusic/react-native-image-crop-picker

I've suffered from the "not found header" error for several days. Sometimes works but sometimes not. Today I found that the error is solved if I remove the following statement in Podfile.

pod 'RSKImageCropper'

The sentence has resulted in two RSKImageCropper projects and it sometimes make "not found header" error.

You already have RSKImageCropper inside your library.

Most helpful comment

This is so frustrating. Random and seemingly always pops up again and again. Is there no fix?

All 6 comments

doing so will not be able to archive or export to ipa. I solved this issue by doing:

  1. pod repo remove master
  2. pod setup
  3. pod install

these steps might take very long time

I use CocoaPod and solved this issue by doing:
1.react-native unlink react-native-image-crop-picker
2.npm uninstall react-native-image-crop-picker --save
3.delete " pod 'RSKImageCropper'" and " pod 'QBImagePickerController'" in Podfile then pod install
4.install react-native-image-crop-picker again by ReadMe Steps
5.clean Xcode and build again

Simply running pod install again fixed it for me. Xcode seems to have lost the file after I cleaned (Product > Clean).

Update: Happened again months later, and this fixed it:

  1. Remove RSKImageCropper and QBImagePickerController from your Podfile
  2. pod install
  3. Add them back
  4. pod install

This is so frustrating. Random and seemingly always pops up again and again. Is there no fix?

Has this been fixed I seem to be getting the issue each time I open up my project in xcode

Was this page helpful?
0 / 5 - 0 ratings