In my story, this was caused by I accidentally chose a wrong testing device that does not match the target device family (I was working for iPhone/iPad but accidentally choose Mac when running the app) .