On 20 Jan 2016, at 02:30, Carl Hoefs <newsli...@autonomy.caltech.edu> wrote:
> This will screw us up bigtime. You really need to file a bug report about this. <https://developer.apple.com/bug-reporting/> By way of context, I just updated two of my victim devices (an iPad mini 2 and an iPhone 5C) to iOS 9.2.1 and CNCopySupportedInterfaces is working just fine on both of them. I tested it with a simple test app run from Xcode (code below). Due to the nature of my job I always use production devices, iOS builds, OS X builds and Xcode builds; there's no Apple-specific magic going on here. So clearly this is not a universal problem but something more nuanced than that. Please post your bug number, just for the record. Share and Enjoy -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware --------------------------------------------------------------------------- NSArray<NSString *> * interfaceList = CFBridgingRelease( CNCopySupportedInterfaces() ); if (interfaceList == nil) { NSLog(@"CNCopySupportedInterfaces returned nil"); } else if (interfaceList.count == 0) { NSLog(@"CNCopySupportedInterfaces returned []"); } else { for (NSString * interfaceName in interfaceList) { NSDictionary * interfaceInfo = CFBridgingRelease( CNCopyCurrentNetworkInfo( (__bridge CFStringRef) interfaceName) ); if (interfaceInfo == nil) { NSLog(@"%@: CNCopyCurrentNetworkInfo returned nil", interfaceName); } else { NSLog(@"%@: CNCopyCurrentNetworkInfo returned %@", interfaceName, interfaceInfo); } } } --------------------------------------------------------------------------- _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com