! Typedef redefinition with different types ('SCNetworkConnectionFlags' (aka 'unsigned int') vs 'enum SCNetworkReachabilityFlage')

Is code for up xcode 7 today


typedef SCNetworkConnectionFlags SCNetworkReachabilityFlags;


in class xmppreconnect is error after update xcode 7

You just rename the enum's name...

This error is coming because in xcode 7 apple is using same enum's name in SystemConfiguration.framework/SCNetworkReachability.h

what to change ?

am test rename is can't connect internet.

thx for anwser



#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5

/

typedef SCNetworkConnectionFlags SCNetworkReachabilityFlags;

#endif

! Typedef redefinition with different types ('SCNetworkConnectionFlags' (aka 'unsigned int') vs 'enum SCNetworkReachabilityFlage')
 
 
Q