belkevich / reachability-ios

Flexible network reachability with blocks for iOS and OS X.
MIT License
68 stars 15 forks source link

Cannot find protocol declaration for 'SCNetworkReachabilityDelegate' #7

Closed dehlen closed 9 years ago

dehlen commented 9 years ago

Hi,

I am using your library with Cocoapods. Unfortunately I get some error messages when trying to run this code.

/Users/david/Desktop/Zeugs/Objective-C Zeugs/iOSApps/PinFever/Pods/ABRequestManager/Classes/Managers/ABRequestManager.m:20:33: Cannot find protocol declaration for 'SCNetworkReachabilityDelegate'
/Users/david/Desktop/Zeugs/Objective-C Zeugs/iOSApps/PinFever/Pods/ABRequestManager/Classes/Managers/ABRequestManager.m:102:56: No visible @interface for 'SCNetworkReachability' declares the selector 'initWithHostName:'
/Users/david/Desktop/Zeugs/Objective-C Zeugs/iOSApps/PinFever/Pods/ABRequestManager/Classes/Managers/ABRequestManager.m:103:23: Property 'delegate' not found on object of type 'SCNetworkReachability *'

Seems like a version error to me since there is no delegate in the SCNetworkReachability class I get from pod install.

dehlen commented 9 years ago

Sorry wrong library I'll repost in the correct one.