启动应用程序时通过 NSLog 收到许多奇怪的错误

发布于 2024-10-19 12:37:24 字数 714 浏览 4 评论 0原文

这就是我得到的:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

极致的悲 2024-10-26 12:37:24

这是一个已知问题。只需转到 /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.

腻橙味 2024-10-26 12:37:24

您使用定位服务吗?

看起来 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文