Tell us which versions you are using:
Tell us to which platform this issue is related
Run without error
Cannot run because of the error in the screenshot
This happened when I updated the Xcode to the latest beta version because my app needs to run on iOS 10.

// stacktrace or any other useful debug info
Check dependencies
warning: no rule to process file '/Users/user1/Desktop/project1/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.h' of type sourcecode.c.h for architecture armv7
warning: no rule to process file '/Users/user1/Desktop/project1/node_modules/react-native-image-crop-picker/ios/UIImage-Resize/UIImage+Resize.h' of type sourcecode.c.h for architecture armv7
warning: no rule to process file '/Users/user1/Desktop/project1/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.h' of type sourcecode.c.h for architecture arm64
warning: no rule to process file '/Users/user1/Desktop/project1/node_modules/react-native-image-crop-picker/ios/UIImage-Resize/UIImage+Resize.h' ofproject1type sourcecode.c.h for architecture arm64
Same issue..
I fixed the issue with solution from here http://stackoverflow.com/questions/10925539/lexical-or-preprocessor-issue-file-not-found-occurs-while-archiving
Thanks that worked !
After updating my xCode to 8.3 today i'm now getting this same error. And the solution above did not work for me.
Had similar issue again with xcode 8.3 beta 4. However with beta 5 no issues ! did u check with beta 5 ?
same issue here with 8.3 and ios 10.3. will try with beta 5
no luck with beta 5, still getting the issue image attachments:


Hi @cwRichardKim , did you try to get the last version? See https://github.com/ivpusic/react-native-image-crop-picker/issues/281
unfortunately i'm on .29
decided it was about time to upgrade so i'm going through that process right now
edit: it took 3 hours, but i managed to successfully upgrade to .42
@cwRichardKim Okay, good Luck!
I'm on react native 0.38.0 and can't upgrade now, so some of the proposed solutions here don't work. For those in the similar state, perhaps this will help:
To get past this problem I did the following:
1) Get v1.6.1 of RSKImageCropper (https://github.com/ruslanskorb/RSKImageCropper/releases/tag/1.6.1)
2) Delete RSKImageCropper.framework from my project
3) Drop new RSKImageCropper.framework into the top of my project (copy files)
4) Open node_modules/react-native-image-crop-picker/ios and replace RSKImageCropper folder with new one from download above (#1)
5) In Xcode, Add back in the embedded binary for RSKImageCropper
6) Clean and build.
This did it for me. My react-native-image-crop-picker is at 0.11.2 for now. I can't take RN >0.38.0 without some significant changes I'm not ready yet to make (don't get me started on the whole breaking changes bit...)
thanks @the-mace , I'm on react native 0.39.2 and have similar issue. your instructions helps.
Most helpful comment
I'm on react native 0.38.0 and can't upgrade now, so some of the proposed solutions here don't work. For those in the similar state, perhaps this will help:
To get past this problem I did the following:
1) Get v1.6.1 of RSKImageCropper (https://github.com/ruslanskorb/RSKImageCropper/releases/tag/1.6.1)
2) Delete RSKImageCropper.framework from my project
3) Drop new RSKImageCropper.framework into the top of my project (copy files)
4) Open node_modules/react-native-image-crop-picker/ios and replace RSKImageCropper folder with new one from download above (#1)
5) In Xcode, Add back in the embedded binary for RSKImageCropper
6) Clean and build.
This did it for me. My react-native-image-crop-picker is at 0.11.2 for now. I can't take RN >0.38.0 without some significant changes I'm not ready yet to make (don't get me started on the whole breaking changes bit...)