I was trying to import push notification library for my project.
I first run react-native link react-native-push-notification after installing the package from npm, there wasn't any message shown. Followed by running the command, react-native link. Screenshot below is the error message - Cannot read property 'pbxprojPath' that I encountered.

So I referred to the solution provided in React Native issues page.Then I run react-native upgrade and here it gives me another error message.

Here is my react-native version.

