1 – Open the default Xcode workspace in your project by running
open ios/Runner.xcworkspace in a terminal window from your Flutter project directory.
2- In Xcode, select the Runner project in the left navigation panel.
3- In the Runner target settings page, make sure your Development Team is selected under General > Signing > Team. When you select a team, Xcode creates and downloads a Development Certificate, registers your device with your account, and creates and downloads a provisioning profile
You should do step 1-3 only once, from now on, your Mac got certificates and provision profiles, you can run “flutter devices” to see registered device.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.