ld: duplicate symbol _OBJC_IVAR_$_Reachability

ld: duplicate symbol _OBJC_IVAR_$_Reachability.localWiFiRef 
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

 因使用了asi 和 sharekit 两者都有Reachability.h文件,

应该是文件冲突的问题,所以把 sharekit里的Reachability.h文件删除后就可以了

 

 

你可能感兴趣的:(gcc)