1

这就是我得到的:

warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
2011-02-26 21:17:43.274 Treacle[2493:5c03] [NMSP_ERROR] readCallBack(): Network error, calling closeCallback!  Error:2517952
2011-02-26 21:17:43.284 Treacle[2493:5c03] [NMSP_ERROR] writeCallBack() Received error kCFStreamEventErrorOccurred.
2011-02-26 21:17:43.539 Treacle[2493:307] [NMSP_ERROR] check status Error: -12986 -> line: 434
2011-02-26 21:17:43.689 Treacle[2493:307] [NMSP_ERROR] check status Error: -12986 -> line: 434

我不知道它在第 434 行有什么问题,但是在我的视图 controller.m 中,该行已经存在了很长时间而没有引起问题,并且包含在一个方法中,该方法在应用程序启动时不会触发。

4

2 回答 2

4

这是一个已知问题。只需将/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so文件从 4.2 Symbols 文件夹复制到 4.2.1 (8C148)/Symbols/usr/lib/info 文件夹。它只是不存在。退出您的 Xcode 并再次打开它。它应该工作。

于 2011-02-26T22:41:08.357 回答
0

你在使用定位服务吗?

看起来 LocationKit 正在与位置 NMSP 服务器(可能是您的路由器?)通话并且遇到问题......

尝试在关闭 wi-fi 的设备上运行,看看问题是否仍然存在。

于 2011-02-26T21:44:52.360 回答