Archive a iOS App

Because of some problems I turn again to Monterey

in this thread, @ekimo says that to use ad hoc you need to archive a iOS App

however:

what did I did wrong?

Archive a iOS App
 
 
Q