I had same problem yesterday , support team helped me to solve it asap.
Could you please check your Apple Developer Console, and let us know if there are any new agreements available on your account page? If so, completing these agreements then redeploying should allow your build to complete successfully.