dyld: Symbol not found: _OBJC_CLASS_$_Reachability

Hi. I encountered the following crash only after installing the pod PusherSwift.

On application launch, getting a crash with the following crash logs:

Code Block
dyld: Symbol not found: _OBJC_CLASS_$_Reachability
  Referenced from: /Users/abc/Library/Developer/CoreSimulator/Devices/387D652C-CB80-4739-88B1-DD04ACAFA8D6/data/Containers/Bundle/Application/D9CEB1B3-9B9D-42E8-AFB6-8BCA056DDE1C/LalaFood-User.app/Frameworks/ChatSDK.framework/ChatSDK
  Expected in: /Users/abc/Library/Developer/CoreSimulator/Devices/387D652C-CB80-4739-88B1-DD04ACAFA8D6/data/Containers/Bundle/Application/D9CEB1B3-9B9D-42E8-AFB6-8BCA056DDE1C/LalaFood-User.app/Frameworks/Reachability.framework/Reachability
 in /Users/abc/Library/Developer/CoreSimulator/Devices/387D652C-CB80-4739-88B1-DD04ACAFA8D6/data/Containers/Bundle/Application/D9CEB1B3-9B9D-42E8-AFB6-8BCA056DDE1C/LalaFood-User.app/Frameworks/ChatSDK.framework/ChatSDK


I have the following file copied directly to my project. As I checked PusherSwift.podspec, it has ReachabilitySwift as a dependency. So, I'm guessing that's where the problem came from. I tried deleting the Reachability file that was directly copied on my project, but after running, the crash is still there.

Is there something I have to import like the header file or something to add? I keep seeing to add the framework on Frameworks, Libraries, and Embedded Content. I tried to add Reachability.framework there, but it did not work.

Hoping someone could help.

Thank you!
For the time being, in order to proceed with my task at work, I just manually copied the files I need from PusherSwift, instead of installing it via Cocoapods.
The same error happens to me using the version 1.5.3 of cocoapods, but with the version 1.10.0 this error was solved.
dyld: Symbol not found: _OBJC_CLASS_$_Reachability
 
 
Q