iOS App Store upload fails with "Invalid Signature" on main executable (Godot 4.7.2, Xcode 27.1)

Godot Version

Godot 4.7.2

Question

Hi everyone,

I’m trying to publish my first iOS game, but every upload to App Store Connect fails with this error:

“Invalid Signature. Code failed to satisfy specified code requirement(s). The file at path “sevenatseven.app/sevenatseven” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate.”

Setup:

  • Godot 4.7.2.stable.official (export templates match)
  • Xcode 27.1 (27A9275), macOS 27.0.1
  • Exported with “Export Project Only”, Export With Debug turned off
  • Export Method Release: App Store
  • App Store Team ID set to my real team ID
  • Code Sign Identity Release: Apple Development (setting it to Apple Distribution causes a conflict with automatic signing in Xcode)

What I tried:

  • Automatic signing in Xcode with my paid team; no signing errors shown
  • My account has a Distribution Managed certificate
  • Archive with “Any iOS Device (arm64)”, then Distribute App > App Store Connect > Upload
  • Clean Build Folder, fresh re-export, new archive

The archive always succeeds and the game runs fine on a real iPhone, but the upload is rejected every time with the same error.

Has anyone shipped to the App Store with Godot 4.7.x and Xcode 27? Is there an export or build setting I’m missing?

Thanks!