Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whats happend with image-crop-picker ?( Why it became fails an build( ios ) and upload to appStore ? #638

Closed
mastersam92 opened this issue Mar 7, 2018 · 2 comments

Comments

@mastersam92
Copy link

mastersam92 commented Mar 7, 2018

Version

  • react-native-image-crop-picker v0.19.0, v0.20.0
  • react-native v0.54.0

Platform

  • iOS

Expected behaviour

Building & archieving normally. Without some errors on appStore uploading( such as unsupported architecture etc )

Actual behaviour

Any errors, that unable to be corrected

Steps to reproduce

  1. Install & link

  2. Try Archieve & upload to AppStore

  3. Enjoy the list of the strange errors

@mastersam92
Copy link
Author

mastersam92 commented Mar 7, 2018

Solved( problem with architecture etc. It took about 1 day for solve ) with next steps:
( for prod )

  1. Delete QBImagePicker.framework & RSKImageCropper.framework from project( in XCode ) with "move to trash"

  2. Check & Del( if exists ) this 2 fw from dir (project)/ios

  3. Check & Del( if exists ) this 2 fw from dir (project)/ios/ios/ImageCropPickerSDK

  4. Check & Del( if exists ) this 2 fw from dir (project)/node_modules/react-native-image-crop-picker/ios/ImageCropPickerSDK

( in XCode )

  1. (menu)Product -> Clean

  2. Check & Del( if exists ) this 2 fw from General -> Embedded Binaries

  3. Set Generic iOS Device ( for prod:) )

  4. (menu)Product -> Build

  5. Now, add fresh frameworks to project:
    ( in left panel, that shows project tree. Go to & drag fresh framework to General -> Embedded Binaries )

8.1. Libraries / imageCropPicker.xcodeproj / Libraries / QBImagePicker.xcodeproj / Products / QBImagePicker.framework

8.2. Libraries / imageCropPicker.xcodeproj / Libraries / RSKImageCropper.xcodeproj / Products / RSKImageCropper.framework

It's strange, that it took so many time and that this wasn't compiled good( on iOS ) from the first time.. In previous project( few month ago ), there was no problems with version 0.19.0..

But, in any case, great thank for you project & please a little bit more npm/yarn, which are much more convenient and versatile than Cocoapods for dev on Android+iOS.

@ivpusic
Copy link
Owner

ivpusic commented Mar 7, 2018

glad to hear it works now for you. However, I recommend using cocoapods. Then you don't have any of these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants