0

On launching my app from Xcode, my document-based app automatically apparently tries to load a cached document from a previous launch. That document appears to be corrupted as the app crashes in initWithCoder [which was called from readFromData:].

The solution appears to be to delete the cached documents. Where are they located and is there anything special about deleting them?

1 Answer 1

0

I disabled the initWithCoder call which allowed me to launch the app. Then I opened a file known to be good and quit. Then I enabled the initWithCoder and launched again. No problems

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.