I followed all the other suggestions in here, and for me, it would fix if I restart Xcode and simulator, then it would work once. After that, the issue would start happening again until I did another restart.
What fixed it for me was to delete the scheme and recreate it.