Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

'null is not an object' when switching from manual linking to pods

$
0
0

I'm upgrading a RN <0.60 library to 0.60 and integrating cocoapods. If I manually link the bridging RN files in 0.60 it works, but if I add the files via a .framework inside a pod, null is not an object error appears.

Why would drag and dropping a working .m with RCT_EXPORT_MODULE() work from within the project, but not from the folder of the pod?

I find that react-native.NativeModules.my_native_module is null.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>