React-native-image-crop-picker: react-native link not working !!! builds fails But run

Created on 18 Feb 2018  路  9Comments  路  Source: ivpusic/react-native-image-crop-picker

Version

Xcode 9.0

  • react-native-image-crop-picker v0.26.7
  • react-native-cli: 2.0.1
  • react-native: 0.53.0

Platform

  • iOS

    Expected behaviour

build must be success

Actual behaviour

RSKImageCropper,QBImagePicker not found folder, when i build;
build fails but it will be run on simulator
Cannot read property 'match' of undefined 'error' in 'react-native link'

Steps to reproduce

1.access for camera granted
2.copy sdk to my_project /ios
3.pods installation compelet
4.add frameworks to binary

Most helpful comment

new version released and updated installation instructions https://github.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.20.0

All 9 comments

hmm, it looks like installation somehow failed. Could you please try to repeat installation steps and check for any errors during that?

ld: warning: directory not found for option '-L/Users/macuser/Library/Developer/Xcode/DerivedData/final-gupqqmxbakvbendislxrmkqwkixn/Build/Products/Debug-iphonesimulator/QBImagePickerController'
ld: library not found for -lQBImagePickerController
clang: error: linker command failed with exit code 1 (use -v to see invocation)

builds fails but any change on js will affect on simulator !!
so when i want add maps on my RN i must reinit my project and add this reinstall crop-image !!

this issue is happening when don't take completely step 2 of Post-install steps.
manual install not working and you can only use Cocoapods.
after install pod and take steps for resolve this error open your-project.xcworkspace file with xcode and run project from here.

NOTE:
your-project.xcworkspace file created after take step 2 of Post-install steps completely in ios folder of your project.

new version released and updated installation instructions https://github.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.20.0

I get this error when deploying to device after following manual installation

"framework not found RSKImageCropper"

maybe you installed manually and cocopods(pods) together

@Arshiamidos if installed manually and cocopods(pods) together锛宎nd get framework not found QBImagePickerController, how to fix it? Thanks

i suggest to reinstall fresh again.
it's better to clean your cocopods with remove pod files/folder and lnstall again from instruction.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xuchao321 picture xuchao321  路  3Comments

Phenek picture Phenek  路  3Comments

pavsidhu picture pavsidhu  路  3Comments

phantom1299 picture phantom1299  路  3Comments

aterribili picture aterribili  路  3Comments