diff --git a/README.md b/README.md index f8e0bae4a..62ff6e48b 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,19 @@ react-native link react-native-image-crop-picker - [Optional] If you want to use camera picker in your project, add following to `AndroidManifest.xml` - `` +#### Production build + +##### iOS + +If you are using pre-built frameworks from `ios/ImageCropPickerSDK`, then before deploying app to production you should strip off simulator ARCHs from these, or you can add frameworks from `Libraries/imageCropPicker/Libraries/_framework_name_.xcodeproj/Products/_framework_name_.framework` to Embedded Binaries instead of pre-built ones. +Related issue: https://github.com/ivpusic/react-native-image-crop-picker/issues/61. + +Details for second approach: + +1. Remove the pre-built frameworks from `Embedded Binaries` +2. Build for Device +4. Add the newly built binaries for both frameworks to `Embedded Binaries` (located at `Libraries/imageCropPicker/Libraries/_framework_name_.xcodeproj/Products/_framework_name_.framework`) + ## How it works? It is basically wrapper around few libraries