React Native PushNotificationIOS:CUICatalog:提供的资产名称无效:(空)

React Native PushNotificationIOS: CUICatalog: Invalid asset name supplied: (null)

我正在为 ios 和 android 平台开发一个 React Native 应用程序。现在我想使用 react-native-push-notifications. I am done with android case (thus I am getting token successfully). Then I decided to do the same for ios platform. I was following this RN tutorial 获取推送通知。复制粘贴所有样板文件后,我开始在日志中收到此错误:

CUICatalog: Invalid asset name supplied: (null)

我完全是 iOS 开发的新手,所以在查看此错误时我感觉有点迷茫。

有人知道哪里出了问题吗?

谢谢!

我的错。我只是忘记在我的应用的功能部分打开通知。