I am trying to create an app in React Native and when I run the app from Xcode on an emulator I get the following error.
I have opened the xcworkspace file and still get this error when I try to run the app.
I have deleted the pods folder and tried reinstalling pods but get the same error.
This seems to happen when I add the following line to my pod file.
pod 'React-RCTPushNotification', :path => '../node_modules/react-native/Libraries/PushNotificationIOS'
Any ideas as to why this is happening and how I can fix it?