A distribution profile is required when building for the app store. YET AGAIN

I have revoked existing certificates and generated new ones.
I have made new development and distribution profiles and installed same.

I am getting the error message: A distribution profile is required when building for the app store.

What else do I need do? I think this may be the fourth day of this.

Since the message says “building for the App store” it’s related to your distribution profile, not the development one.

Confirm the bundle ID in the profile and in Xojo are the same. Make sure you’ve got a team set in Xojo. Download and double-click the the profile to launch Xcode to make sure it’s there. Don’t know what else to suggest.