Can not Archive my Flutter app on Xcode

I created my first Flutter app and I am trying to deploy it to the App Store following the official steps provided by the flutter team: flutter.dev/docs/deployment/ios

Despite I successfully added team on Xcode => Signing & Capabilities, Xcode throws an error on building archive by clicking Product => Archive:

Signing for "Runner" requires a development team. Select a development team in the Signing & Capabilities editor.

I tried to archive a different app, it doesn't work either.
Answered by amanokerim in 653399022
My fault. I should add a team in a Release tab:
i.stack.imgur.com/43dwx.png
Accepted Answer
My fault. I should add a team in a Release tab:
i.stack.imgur.com/43dwx.png
Can not Archive my Flutter app on Xcode
 
 
Q