Last Updated: February 25, 2016
·
657
· TomTasche

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)

2 Responses
Add your response

Thanks for pointing that out. We must have had a regression in our podspec that removed the required framework dependency. We're adding it back in now! :)

over 1 year ago ·

Thanks ninja! Great to see you lurking around over here...

over 1 year ago ·