XCode 13 unable to make valide app via archiving export pkg

Bonjour Xcode 13.2 - Monterey 12.1 With XCode I create the minimal application Zero.app. I do nothing else than creating the app.

  1. Archive > Distribute App > Copy App : give a correct app wich works well : produce an empty window as expected.
  2. Archive > Distribute App > App Store Connect > Export :

give Zero.pkg which produce Zero.app in /Applications as expected. At launch, error message and "Rapport de probléme pour Zero"

Help please Merci