I'm using SQLCipher to encrypt my database as there's sensitive information. Everything seems to work, I'm just irritated because I've got two .sqlite-files right now:
~/Library/Application Support/MyData.sqlite
~/Library/Application Support/MyApp/MyData.sqlite
~/Library/Application Support/MyApp/MyData.sqlite-shm
~/Library/Application Support/MyApp/MyData.sqlite-wal
The first one is encrypted, the second isn't - but it doesn't contain any information. So it seems to work as there's no way to get to the information, but I just wanted to ensure that this is correct.