Publishing Mobile App to iOS Store

I know this issue has come up before and I gone through dozens of tutorials but I still cannot get this to work. I do have a paid apple developer account. I have rebuild my app project in Xcode several times, recreated my developer and distribution certificates multiple times, tried automatic and manual signing, building in xcode and ionic, but I still cannot publish to the iOS app store as development (using it as testing) after I build the archive using the application builder to upload. It is always giving me this error attached.

When I try to manually set my profile to distribution, I get different errors. Any guidance on this would be super helpful. I am totally lost as this did work before.

Any thoughts on this? Any guidance would be very appreciated?

Check that you are using the distribution certificate and not the developer’s certificate.

It is really confusing why there are two different certificates.