File write with [NSBundle mainBundle] fails

In iOS, you can’t write into a file in your app’s bundle — the entire bundle is read-only. Use a path into the Documents folder instead.

Leave a Comment