Data Formatters temporarily unavailable

2019-01-12 01:38发布

问题:

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

回答1:

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



回答2:

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.



回答3:

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.



回答4:

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.



回答5:

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.