Accepted answer

trying to upload a new build on Apple Store, and then geting an error message:""ITMS-90000: This bundle is invalid - $message.""


Each approved Ios app should have a new, increasing Version Number. You can upload multiple andriod builds to App Store Connect (and TestFlight), each with an increasing Build Number, for any Version Number. 

Version need to be specified on the widget element in config.xml. The version on xml element is just for xml language.

You need to do something like this :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
</widget>

Try this also

ERROR ITMS-90168: "The binary you uploaded was invalid." DBG-X: The error code is: 1102 INFO: Done performing authentication.