I recently got the same error.
My problem was that I'm using Python3 by default. print
in Python2 is a statement wherease in Python3 it's a function.
.cordova/lib/ios/cordova/3.3.0/bin/update_cordova_subproject
has a shebang that calls /bin/python
.
I had to replace #!/bin/python
with #!/bin/python2.7
to use python2.7 on this script.