I am trying to integrate Localytics into my iOS application and use cocoapods:
pod 'Localytics'
However, when I launch my application (I don’t even call or import the Localytics namespace), my application exploded 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 found several related SO articles about this, but none of the suggested fixes work:
- make bound code binary 'optional'
- disable bitcode
- pod deintegrate, then reinstall
I'm stuck, I also tried to use the Segment for integration, but it has a direct dependency on the same element and explodes in the same way: /
source
share