Ionic build ios shows weird output (and no **build succeeded**)

Hi there, I built my app with ionic v1 and I’m trying now to post it on Testflight for testing purposes. I’m doing the command ionic build ios but I got a lot of weird ouput (like below) in the console and I don’t know what is the problem.

I tried to do ionic state reset but nothing changed. What should I do ?

Any advices appreciated