Assuming that you mean journal mode, and not WAL MODE
(and that you mean Xcode 8.x, since Xcode 10 doesn't exist yet), no you do not need to copy any additional files or change modes. With journal mode set to DELETE
there's only the one file. You don't need to create extra files to make copying work.
But there are several other problems you might be having, which you should check on, and if necessary post additional questions about:
- Maybe the copy phase isn't actually working as perfectly as you think.
- Maybe you're not adding the SQLite file to the persistent store coordinator-- so it's not available when you do the fetch.
- Maybe your fetch is misconfigured and is trying to fetch data that isn't present.
As for your question though, no you do not need to copy other files, or change the journal mode to force those other files to exist.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…