简体   繁体   中英

Data Formatters temporarily unavailable

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

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

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.

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM