I ran into the same trouble, it was just the pod dependencies that were not installed :
- Make sure cocoapods is installed. This command should display the version if it is installed :
pod --version
- If
cocoapods
is not installed, install it.sudo gem install cocoapods
- install pods dependecies :
cd ./platforms/ios pod install
- Everything should work fine now :
cordova build ios