Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Getting an Error Running a Cordova Project to iOS?

DZone's Guide to

Getting an Error Running a Cordova Project to iOS?

The unintended side effects of software updates! This tip might save you from some real frustration.

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

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 have 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.

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:
cordova ,xcode ,ios

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}