Right after I posted my topic I found the problem and a solution.
Looks like updating XCode does not refresh/updates the Cocoapods.
One has to force install them manually, by running this:
sudo gem install cocoapods -v 1.3.1
That did the trick and
tns prepare ios now completes with no errors.
Hope this helps someone else.