I'm trying to integrate Localytics into my iOS app and am using cocoapods:
pod 'Localytics'
However, when I start my app (I'm not even invoking or importing the Localytics namespace yet) my app blows up with this error:
dyld: Library not loaded: @rpath/Localytics.framework/Localytics
Referenced from: /Users/bobbydavro/Library/Developer/CoreSimulator/Devices/8A21B45E-D77B-41F7-AB45-8F77DE48A4AF/data/Containers/Bundle/Application/556E667A-59D9-4072-81F1-B9CA600E0C46/MyApp.app/MyApp
Reason: image not found
I've found a number of related SO articles on this but none of the suggested fixes work:
- make the linked pods binary 'optional'
- disable bitcode
- pod deintegrate, then re-install
I'm stuck, I also tried using Segment to integrate but it has a direct dependency on the same pod and blows up exactly the same way :/