KishorJena / react-native-whatsapp-stickers-animated

Other
4 stars 1 forks source link

Could not build Objective-C module 'react_native_whatsapp_stickers' #2

Open tommyt4a opened 9 months ago

tommyt4a commented 9 months ago

Environment

System: OS: macOS 13.2.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 121.23 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.15.0 - /usr/local/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 8.5.5 - /usr/local/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8309675 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 11.0.15 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.7 => 0.71.7 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Describtion

I run my project in xcode and get this error "Could not build Objective-C module 'react_native_whatsapp_stickers"

Reproducible Demo

I run my project in xcode and get this error "Could not build Objective-C module 'react_native_whatsapp_stickers"

tommyt4a commented 9 months ago

anyone can help ?

KishorJena commented 9 months ago

Are you trying to use it with ios?

tommyt4a commented 9 months ago

yes

tommyt4a commented 9 months ago

Are you trying to use it with ios?

Do you know how to fix the problem?

KishorJena commented 9 months ago

you should use another module or modify it yourself because it won't work for ios

tommyt4a commented 9 months ago

ok, thank you

KishorJena commented 8 months ago

It will take time to work on this module to make it work for ios because I don't have tools and device for ios currently

KishorJena commented 8 months ago

You can tell me why are you using the module then I would suggest you something

tommyt4a commented 8 months ago

upload animated WhatsApp stickers is a small function of my app

tommyt4a commented 8 months ago

I comment #include in ios/Frameworks/WebP.framework/Headers/types.h line 20 when "Could not build Objective-C module 'react_native_whatsapp_stickers'" occurred. Is it a good way to solve the problem?

tommyt4a commented 8 months ago

and I got a error in android [Error: 0] when I want to send the package to whatsapp. I can send stickers to whatsapp by using react-native-whatsapp-stickers but can't by using this library. Any advice? thank you

KishorJena commented 8 months ago

you can check the error. recently i have updated the library but it is in my local repo. It shows the reason why we cant add the sticker. I will upload asap.

You can use onResulltActivity to print the error, you can check where the whatsapp intent is invoked.

KishorJena commented 1 month ago

try react-native-whatsapp-stickers-manager