deploy error?

so I (the teams lead programmer) tried to upload a code and suddenly this

BUILD FAILED
Target “deploy” does not exist in the project “Copy of Version1.3.2”.

Total time: 659 milliseconds

so turns out if you export as an ant file this happens you need to delete the build and paste in from another code