There is an answered thread in “Packaging & Deployment” section but I decided to open a thread in “Bug Reports” too.
In 4.13 (and 4.14 too, according to it’s fixed issues list), even if we set mobileprovision and certificate for ios, packaging fails if “For Distribution” option is selected.
Because of this bug, developers are unable to send their games to the AppStore, without the source code.
This pull request is being reviewed by one of our engineers. While this is assigned to them, it may take some time for them to get to this exact pull request. Check back occasionally for updates.