Running windows 10
D:\Data\Coding Projects\ionic\capitest>npx cap add ios
D:\Data\Coding Projects\ionic\capitest\node_modules\@capacitor\cli\bin\capacitor
[error] Not running Mac OS X, can't add ios platform
Simple as that…
(there is an issue raised on their github for this)