PinkelStar App中的SCNetworkReachability错误

时间:2011-03-06 05:08:05

标签: iphone ios4

我正在尝试将PinkelStar共享功能添加到我自己的应用程序中,我按照指令说的每一步,但事实并非如此。我是iPhone开发的新手,问题可能是愚蠢的。


Ld build / Debug-iphonesimulator / ButtonTest.app / ButtonTest正常i386 cd / Users / spzhang / Documents / IphoneProject / ButtonTest setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH“/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -L / Users / spzhang / Documents / IphoneProject / ButtonTest / build / Debug-iphonesimulator -F / Users / spzhang / Documents / IphoneProject / ButtonTest / build / Debug-iphonesimulator -F / Users / spzhang / Documents / IphoneProject / ButtonTest /../ PinkelStar-pinkelstar-iOS-demo -359a5be -filelist /Users/spzhang/Documents/IphoneProject/ButtonTest/build/ButtonTest.build/Debug-iphonesimulator/ButtonTest.build/Objects-normal/i386/ButtonTest.LinkFileList -mmacosx-version-min = 10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework PinkelStar -o /Users/spzhang/Documents/IphoneProject/ButtonTest/build/Debug-iphonesimulator/ButtonTest.app/ButtonTest

未定义的符号:   “_SCNetworkReachabilityScheduleWithRunLoop”,引自:        - PinkelStar中的[PSReachability startNotifier](Reachability.o)   “_SCNetworkReachabilityGetFlags”,引自:        - PinkelStar中的[PSReachability currentReachabilityStatus](Reachability.o)        - PinkelStar中的[PSReachability connectionRequired](Reachability.o)   “_SCNetworkReachabilityCreateWithAddress”,引自:       PinkelStar中的[PSReachability reachabilityWithAddress:](Reachability.o)   “_OBJC_METACLASS _ $ _ MFMailComposeViewController”,引自:       PSMailViewController.o中的_OBJC_METACLASS _ $ _ PSMailViewController   “_SCNetworkReachabilityUnscheduleFromRunLoop”,引自:        - PinkelStar中的[PSReachability stopNotifier](Reachability.o)   “_SCNetworkReachabilityCreateWithName”,引自:       PinkelStar中的[PSReachability reachabilityWithHostName:](Reachability.o)   “_OBJC_CLASS _ $ _ MFMailComposeViewController”,引自:       PSMailViewController.o中的_OBJC_CLASS _ $ _ PSMailViewController       PSMailViewController.o中的objc-class-ref-to-MFMailComposeViewController   “_SCNetworkReachabilitySetCallback”,引自:        - PinkelStar中的[PSReachability startNotifier](Reachability.o) ld:找不到符号 collect2:ld返回1退出状态

感谢您的帮助! 贝

2 个答案:

答案 0 :(得分:0)

看起来您没有将所有需要的框架链接到您的项目中。请查看列出所有框架的Readme.mdown,并将它们包含在您的项目中。这将解决这些问题。

答案 1 :(得分:0)

可能无法正确地将所需框架添加到项目中,或者框架搜索路径中为框架指定的路径可能不正确。验证。如果您没有添加任何私有框架,则将Framework搜索路径留空,然后尝试。