Skip to Content
0
Former Member
Jun 24, 2013 at 10:23 AM

iOS conflict with libSDMConnectivity.a and Reachability.h

50 Views

Hi,

We are creating an iOS app with uses a Netweaver Gateway Data Model and the Xcode project is created using the SAP Xcode project generator tool.

We want to actively check if there is an internet connection, therefore we used the Reachability.h and Reachability.m classes, however we get this error when we try build the project

"

SDMLibs/libraries/Release-universal/libSDMConnectivity.a(Reachability.o)

3 duplicate symbols for architecture i386

"

This could be because the library file libSDMConnectivity already contains the Reachability classes. Do we need to use the classes like SDMConnectivityHelper.m to check for an internet connection? Also how would we do this?

If you have any questions please let me know.

Thank you for your help.

Regards

Jing Jing Tao