I'm using Reachability.h/m in my project to determine whether or not the user has a network connection.
It was initially complaining about ARC, so I turned off ARC for the file, and that got rid of about half the errors, but it's still giving me errors about
"Apple Mach-O Linker (Id) Error"
Any suggestions?
It was initially complaining about ARC, so I turned off ARC for the file, and that got rid of about half the errors, but it's still giving me errors about
"Apple Mach-O Linker (Id) Error"
Code:
Undefined symbols for architecture i386:
"_SCNetworkReachabilitySetCallback", referenced from:
-[Reachability startNotifier] in Reachability.o
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[Reachability startNotifier] in Reachability.o
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[Reachability stopNotifier] in Reachability.o
"_SCNetworkReachabilityCreateWithName", referenced from:
+[Reachability reachabilityWithHostName:] in Reachability.o
"_SCNetworkReachabilityCreateWithAddress", referenced from:
+[Reachability reachabilityWithAddress:] in Reachability.o
"_SCNetworkReachabilityGetFlags", referenced from:
-[Reachability connectionRequired] in Reachability.o
-[Reachability currentReachabilityStatus] in Reachability.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any suggestions?