I'm getting an error when building an Ionic 3 app

It seems that in the ionic forum there is a thread regarding this or a really similar issue: ionic forum link

To sum it up a bit, there is some issue with XCode or some dependencies not being at the expected place.

Could you try the following (add sudo if it fails for permission reasons):

npm install -g ios-deploy --unsafe-perm=true


I was also having this problem. Turns out all I had to do was disconnect my iPhone from the USB port.

  1. Disconnect any iOS devices from USB
  2. Build your app and wait until it finishes
  3. Reconnect the device