Jobeso / react-native-whatsapp-stickers

Integrate sticker packs for WhatsApp with your react-native app
Other
81 stars 30 forks source link

Framework not found WebP #16

Closed mauriciogtaborda closed 5 years ago

mauriciogtaborda commented 5 years ago

Environment

Environment: OS: macOS High Sierra 10.13.6 Node: 8.5.0 Yarn: 1.7.0 npm: 6.4.1 Watchman: 4.7.0 Xcode: Xcode 9.4.1 Build version 9F2000

i completed the installation and integration described in the docs but when i run my project shows this error.

ld: warning: directory not found for option '-L/Users/*/Library/Developer/Xcode/DerivedData/**-ayyjwebyaveiesgkcsfanqobqvie/Build/Products/Debug-iphoneos/React' ld: framework not found WebP clang: error: linker command failed with exit code 1 (use -v to see invocation)

Jobeso commented 5 years ago

This usually means that the linking of the framework was not correctly done. See this section for instructions on how to add the WebP framework. I suggest you to start of again if you did some of these steps. The linking process with react-native is always difficult.

mauriciogtaborda commented 5 years ago

This usually means that the linking of the framework was not correctly done. See this section for instructions on how to add the WebP framework. I suggest you to start of again if you did some of these steps. The linking process with react-native is always difficult.

i link the webP framework correctly again and i got the same error.

kkleeez commented 5 years ago

I have the same problem and resolve it by adding "$(SRCROOT)/../node_modules/react-native-whatsapp-stickers/ios" in "Framework Search Paths" in Project Build Settings page

pandanr1 commented 5 years ago

Same here. kkleeez solution does not help :/

React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
      Memory: 1.69 GB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.0 - /usr/local/bin/node
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.5.0 => 16.5.0 
      react-native: 0.57.0 => 0.57.0 
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1
kkleeez commented 5 years ago

Hi pandanr1, I forgot to mention in my solution. You need to set the search path to "recursive".

pandanr1 commented 5 years ago

Works thank you so much kkleez!

Jobeso commented 5 years ago

Closing this for now, seems like it solved your problem.

If you are having the same issue, try the solution of @kkleeez in https://github.com/Jobeso/react-native-whatsapp-stickers/issues/16#issuecomment-468883862 and https://github.com/Jobeso/react-native-whatsapp-stickers/issues/16#issuecomment-474684449.