on 06-24-2013 11:23 AM
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
Hi,
You are correct that the Reachability class is part of the libSDMConnectivity so there is no need to add the files on your own, but just to add an import to the Reachability.h.
You don't need to use the SDMConnectivityHelper class if you just want to check if there is an internet connection, you can use the Reachability API directly.
Regards,
Guy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.