Having Problems With Developer Profile

Hi,

I’m trying to update my iOS apps on Xojo 2019 R3 from files created with Xojo 2016, and I believe I have all the correct certificates created, but when I am trying to build the project, I get the error

A developer profile is required when building an iOS application .

I am trying to figure out which certificate it is actually looking for. This certificate stuff with Apple is very complicated.

I got over that hump somehow. I have no idea what I did to make that error disappear. Now I am getting the error that my Provisioning Profile “Name” doesn’t include signing certificate "Apple Distribution: Knightlite Software. This Certificate stuff is way too complicated and is the opposite of Apple’s old model of making things easy.