ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.12k stars 1.56k forks source link

library not found for -lQBImagePickerController #824

Open aaronbalthaser opened 6 years ago

aaronbalthaser commented 6 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

I have followed the instructions used pod and I am getting an error every time I try to build. The steps I took are from the instructions. The error Im getting is library not found for -lQBImagePickerController

ld: warning: directory not found for option '-L/Users/aaron/Library/Developer/Xcode/DerivedData/moder8_app-dhexjenfysxrzmczxydmhukxtcrn/Build/Products/Debug-iphoneos/QBImagePickerController' ld: warning: directory not found for option '-L/Users/aaron/Library/Developer/Xcode/DerivedData/moder8_app-dhexjenfysxrzmczxydmhukxtcrn/Build/Products/Debug-iphoneos/RNImageCropPicker' ld: warning: directory not found for option '-L/Users/aaron/Library/Developer/Xcode/DerivedData/moder8_app-dhexjenfysxrzmczxydmhukxtcrn/Build/Products/Debug-iphoneos/RSKImageCropper' ld: warning: directory not found for option '-L/Users/aaron/Library/Developer/Xcode/DerivedData/moder8_app-dhexjenfysxrzmczxydmhukxtcrn/Build/Products/Debug-iphoneos/React' ld: warning: directory not found for option '-L/Users/aaron/Library/Developer/Xcode/DerivedData/moder8_app-dhexjenfysxrzmczxydmhukxtcrn/Build/Products/Debug-iphoneos/yoga' ld: library not found for -lQBImagePickerController clang: error: linker command failed with exit code 1 (use -v to see invocation)

Paul-Lategan commented 6 years ago

Same issue.

aaronshier commented 6 years ago

use .xcworkspace instead of .xcodeproj

kapil708 commented 5 years ago

hi @aaronshier i already try it but it still give me same error

Salinn commented 5 years ago

@aaronshier running into this when I upgraded to xcode 10 and I have been using the xcworkspace file before I added this library

Salinn commented 5 years ago

I figured out I was missing this file in my build dependencies after the upgrade to xcode 10 which is weird, but if anyone else runs into it that is probably the cause.

balazs31 commented 5 years ago

I figured out I was missing this file in my build dependencies after the upgrade to xcode 10 which is weird, but if anyone else runs into it that is probably the cause.

Hi. I'm encountering the same problem. Were you using Cocaopods? If yes, how did you manually add your build dependencies?

halileohalilei commented 5 years ago

This happened to me when I used a different iOS version (12.0) on my Podfile other than 8.0. It seems QBImagePicker is abandoned and no new versions have been released for it for over three years. The last iOS version it supports is 8.0, hence the error.