数据格式化程序暂时不可用

发布于 2024-08-27 06:20:54 字数 280 浏览 4 评论 0原文

我尝试使用日期格式化程序(NSDateFormatter),但我不断收到此错误:

Program received signal:  “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib")

Im trying to use Date Formatters (NSDateFormatter), but I keep getting this error:

Program received signal:  “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib")

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(5

荒人说梦 2024-09-03 06:20:54

这与 NSDateFormatter 无关 - 粘贴在“数据格式化程序”中的消息是正确的。您会在多种情况下收到此消息,最常见的可能是在启动时无法在共享库中找到链接时。当运行时内存不足时,您也可能会得到它,在这种情况下开始寻找泄漏。

(没有足够的代表来发表评论)。

This is nothing to do with NSDateFormatter - the message pasted in saying "Data Formatters" is correct. You will get this message in several situations, possibly most commonly when unable to find a linked in shared library at launch time. You may also get it when short of memory while running, in which case start looking for leaks.

(not enough rep to comment).

陌生 2024-09-03 06:20:54

当我将断点放在不寻常的位置(例如异常处理程序上)时,我遇到了“数据格式化程序暂时不可用...”问题。在“调试器”窗口中,单击“显示断点”,看看您是否忘记了某些内容 - 我忘记了。

I've had the "Data Formatters temporarily unavailable..." problem when I put a breakpoint in an unusual position (such as on the exception handler). In the Debugger window, click on "Show Breakpoints" and see if you have something you forgot about -- I did.

涙—继续流 2024-09-03 06:20:54

我遇到了同样的问题,在 3.2 上构建代码作为目标解决了问题。也许这可以给出一个提示,因为我对这个解决方案不满意。

I had the same issue, building the code on 3.2 as target solved the problem. Maybe this can give a hint, as i am not happy with this solution.

秋日私语 2024-09-03 06:20:54

我刚刚解决了同样的问题。我的问题与堆栈溢出有关(没有双关语;-),因为我重写了一个设置器并从内部调用相同的设置器,形成了无限的递归。希望有帮助。

I just solved the same problem. Mine had to do with stack overflow (no pun intended ;-) since I was overriding a setter and calling the same setter from within, forming an endless recursion. Hope that helps.

热风软妹 2024-09-03 06:20:54

就我而言,原因是:

NSLog(@"%@", url);

其中 url 是 NSURL,而不是 NSString。

这在模拟器中不是问题,但它在设备上生成了“数据格式化程序暂时不可用”。

In my case, this was the cause:

NSLog(@"%@", url);

where url is a NSURL, not NSString.

This wasn't a problem in the simulator, but it generated the "Data Formatters temporarily unavailable" on the device.

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