-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find protocol declaration for 'NativeVibrationSpec' #32404
Comments
I have the same issue |
Whats the issue exactly?
…Sent from my iPhone
On Oct 17, 2021, at 7:16 AM, Gabriel Moncea ***@***.***> wrote:
I have the same issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Same issue here |
@userofgit001 I've created a more detailed issue with reproducing steps and a way to fix it temporary. |
Also had this issue after upgrading from 0.64.2 -> 0.66.1. @gabrielmoncea's workaround did help |
Same issue here |
Same issue for a new project. See @gabrielmoncea 's issue for more info |
Upgrading react-native to 0.66.3 fixed an issue for me! |
for me issue resolved by updating to latest version react-native. if issue still exist see this issue ticket solutions: |
Description
when running app on ios after upgrade to 0.66, I got these semantic error:
node_modules/react-native/Libraries/Vibration/RCTVibration.mm:16:28: Cannot find protocol declaration for 'NativeVibrationSpec'
node_modules/react-native/Libraries/Vibration/RCTVibration.mm:33:20: Use of undeclared identifier 'facebook'
React Native version:
System:
OS: macOS 11.5.2
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 71.96 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.14.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.22.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
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:
API Levels: 28, 29, 30
Build Tools: 28.0.2, 28.0.3, 29.0.2, 30.0.2, 30.0.3
System Images: android-25 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode: 13.0/13A233 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_282 - /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
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
3- Run project got build failed
Expected Results
to build project successfully, after solving this error 👍 Cannot find protocol declaration for 'NativeVibrationSpec'
The text was updated successfully, but these errors were encountered: