tonyxiao / react-native-analytics

React Native wrapper for SegmentIO's Analytics SDK
https://github.com/smore-inc/react-native-segment-io-analytics
MIT License
34 stars 19 forks source link

RCTConvert.h file not found #6

Closed kyangy closed 7 years ago

kyangy commented 7 years ago

I have everything set up but I do get the error 'RCTConvert.h file not found' in RNSegmentIOAnalytics.m when I try to build.

"react": "~15.4.1", "react-native": "0.42.3"

Any ideas? Thanks!

kyangy commented 7 years ago

You need to change from #import "RCTConvert.h" to #import <React/RCTConvert.h>