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.
Archived Comments
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 https://www.snip2code.com/S...
Cool - thanks for sharing that!