Getting an error running a Cordova project to iOS?

This post is more than 2 years old.

This morning when testing an Ionic project, I got an error trying to emulate iOS. I tested it again in the Cordova CLI and got the same error:

simctl was not found.
Check that you have Xcode 6.x installed:

My first thought was that it was an XCode 7 issue, but I had run builds earlier in the week. On a whim though I fired up XCode and...

Bam. I had to OK a license agreement change. Because... reasons. So if you ever run into an issue like this before, open up XCode and see if you've got a prompt waiting for you. Apparently you can script your way around this too, but just running XCode was faster.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA

Archived Comments

Comment 1 by Simon Prickett posted on 10/23/2015 at 10:23 PM

You can achieve this through scripting if you want a xcode lights out environment (and/or have a CI environment). Something like this has worked for me in the past

Comment 2 (In reply to #1) by Raymond Camden posted on 10/25/2015 at 6:49 PM

Cool - thanks for sharing that!