I would try adding some development provisions and certificates at the same time (so you have development AND distribution provisions and certificates). A lot of the logic seems to be crossed in the check-if-i-can-even-do-this stage of packaging.
It’s even worse with tvOS.