My problem was solved. I could send my app to iTunes Connect and after hours its became available on my account. Actually I was doing everything right, my command was perfect BUT I should be more patient and wait for a response from Apple that came some hours later (about 12 hours).
ERROR ITMS-4238: “Redundant Binary Upload. There already exists a binary upload with build version ‘1.0’ for train ‘0.0.7’” at SoftwareAssets/PreReleaseSoftwareAsset
occurred because I sent a lot of files thinking that I’d something wrong in the publishing process of my app because it doesn’t shows up on iTunes Connect, and then I tried to send it again and again…
So, when you use
tns publish ios you must understand that you have to wait for an answer from Apple. They will send an email informing you if your submitted app is alright or if you have to fix something.
In other words, be prepared to wait for an email from Apple informing you if your app has some issue or if your app is already available on your iTunes Connect account
As suggestion to NativeScript team, I guess you could add, at the end of the
tns publish ios output command line, a message like this: We just submitted your App to your iTunes Connect account successfully. Now you must be patient and wait for an email from Apple. It can take some hours!