You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the docs, under iOS Installation the fifth point is like this: Make sure your project links to libAnalytics.a (The libraries should be listed under "Build Phases -> Link Binary With Libraries". Should happen automatically if you use cocoapods).
Issue is: cant find libAnalytics.a file instead found libAnalytics-iOS.a, libAnalytics-tvOS.a files.
Also tried adding these files (libAnalytics-iOS.a, libAnalytics-tvOS.a) but it is still resulting in error: NativeRNSegmentIOAnalytics is undefined.
Tried to modify 2,3,4 steps like this:
Inside Xcode (make sure you've opened your .xcworkspace file), go to the project navigator -> your project's name -> right click your project's name -> Add Files to [your project's name].
Go to node_modules/react-native-analytics/ios -> and choose the RNAnalytics folder.
Make sure you select RNSegmentIOAnalytics.h and RNSegmentIOAnalytics.h files and add them.
It fixed the issue....
The text was updated successfully, but these errors were encountered:
I have done the same things which you have mentioned above but still facing issue undefined is not an object (evaluating 'NativeRNSegmentIOAnalytics.setup')
Issue is: cant find libAnalytics.a file instead found libAnalytics-iOS.a, libAnalytics-tvOS.a files.
Also tried adding these files (libAnalytics-iOS.a, libAnalytics-tvOS.a) but it is still resulting in error: NativeRNSegmentIOAnalytics is undefined.
.xcworkspace
file), go to the project navigator -> your project's name -> right clickyour project's name
->Add Files to [your project's name]
.node_modules/react-native-analytics/ios
-> and choose theRNAnalytics
folder.RNSegmentIOAnalytics.h
andRNSegmentIOAnalytics.h
files and add them.It fixed the issue....
The text was updated successfully, but these errors were encountered: