Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ivpusic/react-native-image-crop-p…
Browse files Browse the repository at this point in the history
…icker
  • Loading branch information
ivpusic committed Sep 7, 2016
2 parents 1096f22 + 7a043bf commit a663a83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
- `<uses-permission android:name="android.permission.CAMERA"/>`

#### 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
Expand Down

0 comments on commit a663a83

Please sign in to comment.