react-native-image-resizer icon indicating copy to clipboard operation
react-native-image-resizer copied to clipboard

Library not found for iOS

Open omerwaqaskhan opened this issue 5 years ago • 3 comments

After running the below commands:

yarn add react-native-image-resizer
cd ios && pod install 

When I try to build the app I get this error:

ld: warning: directory not found for option '-L-L/Users/omer/Library/Developer/Xcode/DerivedData/yelpme-fmxvkwsqrtycntaquqvghjiekszm/Build/Products/Debug-iphonesimulator/react-native-image-resizer' ld: library not found for -lreact-native-image-resizer clang: error: linker command failed with exit code 1 (use -v to see invocation)

In my pod file there was nothing related to this library, then I added manually:

pod 'react-native-image-resizer', :path => '../node_modules/react-native-image-resizer/'

and run pod install again, but still getting the same issue.

Is there any other step to properly integrate this library, which is missing?

omerwaqaskhan avatar Sep 13 '20 13:09 omerwaqaskhan

i also same issue with you. Im using 1.3.0 || ^1.0.0 . react : 0.60.4

huydv92 avatar Nov 06 '20 08:11 huydv92

I have the same problem with the version 1.4.4

MiguelAngelVM avatar Jun 03 '21 23:06 MiguelAngelVM

Got same error and adding following to Pod file resolved it.

pod 'react-native-image-resizer', :path => "../node_modules/react-native-image-resizer/react-native-image-resizer.podspec"

Nirodha26 avatar May 13 '22 02:05 Nirodha26

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 01 '22 18:09 stale[bot]

This issue has been automatically closed. Thank you for your contributions.

stale[bot] avatar Sep 08 '22 18:09 stale[bot]