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

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

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.

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}