代码改变世界

xcode編譯出現"_SCNetworkReachabilityCreateWithAddress", referenced from: “解決方法

2013-04-14 13:14  LvSir  阅读(795)  评论(0编辑  收藏  举报
http://www.cnblogs.com/lv_yantao/archive/2013/04/14/3020237.html

35down voteaccepted

You are using ASIHTTPRequest so you need to setup your project. Read the second part here

http://allseeing-i.com/ASIHTTPRequest/Setup-instructions

share|improve this answer
 
2  
Also, in the build phases, in the Compile Sources phase, make sure you added the relevant implementation files. I met this problem when I wrote GHUnit tests for classes that lived in a target that had all the implementation files in the compile sources phase, while the GHUnit tests classes target didn't have the implementation files in the compile sources phase. Thank you! – nurne Feb 7 '12 at 18:15