跟PushNotification有关,需要手动完成Linking。

解决方法:在项目找到RCTPushNotification.xcodeproj的文件,如下入图:

拖到xcode Libraries下 如下图:

在link binary with libraries 添加RCTPushNotification.a 如下图:

重新启动项目就OK了。
跟PushNotification有关,需要手动完成Linking。
解决方法:在项目找到RCTPushNotification.xcodeproj的文件,如下入图:
拖到xcode Libraries下 如下图:
在link binary with libraries 添加RCTPushNotification.a 如下图:
重新启动项目就OK了。
本文标题:React Native ios出现"Native module
本文链接:https://www.haomeiwen.com/subject/tkwgtqtx.html
网友评论