1

I'm using Cometchat Ionic sdk, I've added the cordova plugin with ionic cordova plugin add cometchat_sdk_folder and it works in android but when I compile for iOS I'm getting this error:

Output log

Niccolò Fanton
  • 552
  • 1
  • 5
  • 19

2 Answers2

0

Both the cometchat-ui and MessageSDKFramework frameworks contain an implementation of the Reachability module, which both define the same symbols.

AFAIK, to solve this you need to get/create a version of either framework without the Reachability module.

To do this, you need to have the source code of either framework. You need to change the build process/script so that it does not include the Reachability module. Then you need to rebuild either framework and include include that in your app's Xcode project.

If you don't have the source code of either framework: I think there should be linker options to ignore either duplicate module, or ignore there errors. I leave this to you.

meaning-matters
  • 21,929
  • 10
  • 82
  • 142
0

This issue has been resolved and a new version of our SDK has been released. If you still face this issue, feel free to email us.

Thanks,

CometChat
  • 57
  • 3
  • i can't be able to build ios and generate ipa file after addition of cometchat sdk. How can i solve this error, please some advice, I have already spent 3 or 4 days to solve this issue, but no any luck. – Binita Doriwala Jan 16 '19 at 11:57
  • Unfortunately, we're unable to replicate the issue. Can you please try using our latest SDK and let us know if the error still persists? – CometChat Jan 18 '19 at 13:33