Problem with uploading archive to App Store Connect from Xcode 15

I am having trouble with uploading an archive to App Store Connect when using Xcode 15. I get two errors:

  • Cloud signing permission error
  • No profiles for 'bundleId' were found

Everything works fine in Xcode 14. In fact, I built my app archive under Xcode 15, then opened Xcode 14, and was able to upload to App Store Connect from there. This doesn't seem like a good workaround, though.

Does anybody have any idea what is going wrong? Is this just a bug in Xcode 15?

In case anybody else runs into this, I figured out what I was doing wrong. Xcode 15 added a new step at the beginning for distributing an archive. I was choosing "TestFlight & App Store" in that first step (which seemed to make sense). I just tried choosing 'Custom' instead, and that takes it to the normal workflow for uploading an archive, and it works from there.