Ionic run ios: build fails. Error: Check Dependencies

I get the following error in the CLI:


The following build commands failed:
	Check dependencies
(1 failure)
Error: /Users/raquelreis/projetos/Bafafa2015/platforms/ios/cordova/run: Command failed with exit code 65
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I’ve properly installed ios-deploy, and I even managed to use ionic build ios with no problems, resulting in “BUILD SUCCEEDED”. But ionic run ios fails

What version of the cordova and ionic cli do you have?

ionic -v
cordova -v

Can you also run with the debug flag?

ionic run ios -d

See if there are any errors printed out

Thanks for the reply, @mrhartington!

Ionic -v says it’s at 1.2.8, cordova -v says 4.0.0

I pasted the results from ionic run ios -d here:

alright, so the issue here is on line 32.

Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.

So you can’t run an app on a device until you setup some provisioning files.