voximplant / react-native-voximplant

Voximplant mobile SDK for React Native (iOS/Android)
http://voximplant.com
205 stars 39 forks source link

Library not loaded: CocoaLumberjack after transitioning from use_frameworks! #76

Closed ZakeryFyke closed 5 years ago

ZakeryFyke commented 5 years ago

Step 5 of the manual instructions now states: Note: since the version 1.6.0, use_frameworks! is no longer mandatory.

After commenting out use_frameworks! in our project's PodFile and running pod deintegrate and pod install, the project builds, but the following error is thrown at runtime:

dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack
  Referenced from: /Users/appledeveloper/Library/Developer/CoreSimulator/Devices/8A3CD2F8-E1AB-4511-81C5-900A16E2BD52/data/Containers/Bundle/Application/CFF17234-A9C6-4900-A26D-218E95CAD3EB/VoximplantDemo.app/Frameworks/VoxImplant.framework/VoxImplant
  Reason: image not found

This is similar to an older issue here

I'm assuming it's because VoxImplant is still referencing a framework which now doesn't exist, but I'm not sure how to tell it to stop looking for it.

ZakeryFyke commented 5 years ago

Current version of react-native-voximplant is 1.6.0 according to npm list

ZakeryFyke commented 5 years ago

Ah, here we go.

I removed the old Voximplant package with npm uninstall react-native-voximplant, reinstalled with npm install react-native-voximplant@latest --save , then ran a pod install inside the iOS folder. Seems to be building now, just need to fix a RN version mismatch, as is typical. :)