Hey man to recheck the distribution settings. Try packaging without for-distribution checkbox. If the packaging succeeds, the problem lies with the distribution settings. Check out my answer in this post for the above reason.
Make sure your SDK is correctly set up.