So it's as if there are 2 Containers, one for Development and one for Production (the TestFlight build), and they are not sync'd with each other.
I think that's literally true. I'm not sure yet what to do about it (I'm working through a similar issue.)