iOS 5.1 Reachability

情到浓时终转凉″ 提交于 2019-12-04 19:49:53

https://github.com/tonymillion/Reachability

iOS5 / GCD / ARC friendly version

Not sure whether you have solved this problem yet.

But if you read the actual error highlighted in Xcode 4 and if it says something like

"ld: duplicate symbol _OBJC_IVAR_$_Reachability.reachabilityRef in . . . linker command failed with exit code 1 (use -v to see invocation)"

That is saying you have already included Reachability.h and Reachability.m in your project somewhere and you now have included a duplicate copy.

Delete all the duplicate copies of Reachability.h and Reachability.m and leave just 1 copy of it somewhere in your project files.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!