开发者

iPhone CoreData application crashing for first time start

I wrote iPhone application using core data. When I run application in simulator, its crashing with following error:

2010-02-12 17:24:22.359 CrData[46122:4503] Unresolved error Error Domain=NSCocoaErrorDomain Cod开发者_StackOverflowe=513 UserInfo=0x3f484e0 "Operation could not be completed. (Cocoa error 513.)", { NSUnderlyingException = Error validating url for store; }

Next time on wards its running well. Again if I delete the application and run the application, its crashing again. Can some one tell me how to solve this problem.


Put a breakpoint in on objc_exception_throw and then run it in the debugger. When it crashes it will break on throw and you can interrogate the value of the URL to see what is going wrong.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜