Cannot find protocol declaration for 'NativeVibrationSpec' for React Native iOS

Viewed 1583

I have a problem with a React Native project.

Newly created project with npx react-native init ProjectName, installed pods on iOS and trying to run the project it throws this next error: Cannot find protocol declaration for 'NativeVibrationSpec in Xcode.

Node version: 14.18.1

Xcode version: 13.0 (13A233)

Simulator to run: iPhone 13 with iOS 15.0

Is there any resolve?

enter image description here

1 Answers

Upgrading react-native to 0.66.3 fixed this issue for me. Don't forget to install pods again.

Related