Ionic cordova run ios does not work

Has anyone ever found a solution for this error:

Check dependencies
Code Signing Error: No profiles for '<package name goes here>' were found:  Xcode couldn't find any iOS App Development provisioning profiles matching '<my package name>'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

… when one tries to run:

ionic cordova run ios

I can run it into Iphone from Xcode though.I have already set it to “automatically manage signing” in XCode and have chosen the correct Team Development.

Any help is appreciated.