启动应用程序时通过 NSLog 收到许多奇怪的错误
这就是我得到的:
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 行有问题,但在我的视图控制器上,该行已经存在很长时间了,没有引起问题,并且包含在一个方法中,该方法不会被触发当应用程序启动时。
This is what i get:
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
I don't know what file it has a problem with at line 434 but on my view controller.m that line has been there for ages without causing problems and is contained in a method, which isn't triggered when the app starts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一个已知问题。只需转到
/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 并再次打开它。它应该有效。This is a known problem. Just go to
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)
and copy /Symbols/usr/lib/info/dns.so file from 4.2 Symbols folder to 4.2.1 (8C148)/Symbols/usr/lib/info folder. It's just not there. Quit your Xcode and open it again. It should work.您使用定位服务吗?
看起来 LocationKit 正在与位置 NMSP 服务器(可能是您的路由器?)通信并且遇到问题...
尝试在 wi-fi 关闭的情况下在设备上运行,看看问题是否仍然存在。
Are you using location services?
It looks like LocationKit is talking to a location NMSP server (likely your router?) and having problems with it...
Try running on the device with wi-fi off and see if the problem persists.