Error building IOS application

I’m trying to build my app, but when I do the following command

ionic build ios

I get the following error message

Check dependenceis
Signing for “APPNAME” requires a development team. Select a development team in the project editor.

How can I fix that?

Thanks

open the app’s Xcode project in Xcode and locate the properties to set this.

Thanks, I was about to find this and fixed the issue. I’m getting another error when building the app now. I posted another question.