Reputation: 561
Apple's reachability application crashes at runtime after successful compile. Given the extent to which these routines are implemented, has anyone discovered the correction for this?
Thanks ...
Upvotes: 1
Views: 1098
Reputation: 185
Since the 01/06/2010, there is a minor bug fixes.
http://developer.apple.com/iphone/library/samplecode/Reachability/Introduction/Intro.html
Upvotes: 1
Reputation: 27889
I get rid of the crash by commenting the line 175 of the Reachability.m file:
173 + (Reachability*) reachabilityForLocalWiFi;
174 {
175 //[super init];
176 struct sockaddr_in localWifiAddress;
177 bzero(&localWifiAddress, sizeof(localWifiAddress));
Upvotes: 2