Data Formatters temporarily unavailable

2019-01-12 01:22发布

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")

5条回答
等我变得足够好
2楼-- · 2019-01-12 01:38

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.

查看更多
倾城 Initia
3楼-- · 2019-01-12 01:44

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.

查看更多
我命由我不由天
4楼-- · 2019-01-12 01:46

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).

查看更多
叼着烟拽天下
5楼-- · 2019-01-12 01:47

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.

查看更多
趁早两清
6楼-- · 2019-01-12 01:53

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.

查看更多
登录 后发表回答