Nope, this is my first time. I follow the getting started and watch the ionic crash course video. I installed the node.js and npm then created myApp. When I input ionic platform add ios in the terminal, I’m getting that error.
If you have followed all the installation steps including installing XCode like ‘edwrede_ZA’ said and it still does not work you can try these steps:
1.Start another ionic project on another folder with ionic start anotherProject
2.Copy your project’s ‘www’ folder and replace it on your new ‘anotherProject’ folder.
3.Add the platforms to your new project using ionic platform add ios
4.Build the project to the selected platform using ionic build ios
5.Run your project using ionic run ios
I’ve got a similar error before and this worked.
Hope it works for you