mieszko4 / react-native-zoom-us

MIT License
126 stars 118 forks source link

Cannot find protocol declaration for 'NativeVibrationSpec' react-native-zoom-us #155

Closed muhammadashfaq closed 3 years ago

muhammadashfaq commented 3 years ago

Hi folks

I am trying to install zoom lib in project and after installing pods, i am unable to build the project on iOS. Following is my setup info..

System: OS: macOS 11.5.2 CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz Memory: 1.12 GB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.10.0 - /usr/local/bin/node Yarn: 1.22.15 - /usr/local/bin/yarn npm: 7.24.0 - /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0 Android SDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7583922 Xcode: 13.0/13A233 - /usr/bin/xcodebuild Languages: Java: 11.0.12 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.0 => 0.66.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

react-native-zoom-us verison 6.5.1

Error Cannot find protocol declaration for 'NativeVibrationSpec' Cannot find protocol declaration for 'NativeVibrationSpec'

File RCTVibration

pmogollons commented 3 years ago

Try cleaning your project (cmd + K) and building again. RCTVibration is react-native component not something this library should mess with.

mieszko4 commented 3 years ago

You can also try with demo app - https://github.com/mieszko4/react-native-zoom-us-test to see if you will get the same build error