integrate Crittercism iOS SDK using CocoaPods
the http://docs.crittercism.com/ios/ios.html seemed pretty straight-forward to me: add their pod to your Podfile and off you go... nope.
turns out you have to manually link the SystemConfiguration.framework first! oh well...
the error that occurred for me without SystemConfiguration.framework:
Undefined symbols for architecture armv7:
"_SCNetworkReachabilityGetFlags", referenced from:
-[CRReachability connectionRequired] in libCrittercism_v5_0_4.a(CRReachability.o)
-[CRReachability currentReachabilityStatus] in libCrittercism_v5_0_4.a(CRReachability.o)
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[CRReachability startNotifier] in libCrittercism_v5_0_4.a(CRReachability.o)
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[CRReachability stopNotifier] in libCrittercism_v5_0_4.a(CRReachability.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[CRReachability startNotifier] in libCrittercism_v5_0_4.a(CRReachability.o)
"_SCNetworkReachabilityCreateWithAddress", referenced from:
+[CRReachability reachabilityWithAddress:withKey:] in libCrittercism_v5_0_4.a(CRReachability.o)
"_SCNetworkReachabilityCreateWithName", referenced from:
+[CRReachability reachabilityForHostName:withNotificationKey:] in libCrittercism_v5_0_4.a(CRReachability.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Written by Thomas Taschauer
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#