react-native-radar: iOS Manual Link doesn't work

It’s related to https://github.com/radarlabs/react-native-radar/issues/42

This solution doesn’t work for CI, because it installs RNRadar Library again and without configured Framework Search Path.

Fast solution can be adding by default ${SRCROOT}/../../../ios to RNRadar target framework search path and we can have inside our ios folder the RadarSDK.framework

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Thanks, it builds perfectly in CI now!

Fixed in https://github.com/radarlabs/react-native-radar/releases/tag/2.1.7

Please let us know if you have any problems with the new version, always happy to help!

That’s correct. You’ll need to make sure that your event listeners are registered outside of the component lifecycle as described in our README. If so, you’ll receive events in the background, otherwise you’ll just receive events for as long as those listeners are active.

Ah whoops, I was looking at the header search paths instead of framework ones, you’re correct.

You could make a Pods/RadarSDK directory and work from there, but a new release should be going out sometime today, if you don’t mind waiting.

Yeah that makes sense regarding CI. We’ll get that search path added to the native project in our next release to address this issue, apologies!

~In the meantime, as a temporary workaround, it looks like ${SRCROOT}/../../../ios/RadarSDK is currently one of the listed search paths, if you add and link the RadarSDK.framework from that directory then everything should work.~