I’m using Unity Cloud Build and as I’m on windows I need to post it with Post-Build script but it fail on authentication. I’m not sure what username and password to use. Google says I should add my AppleID to Environment Variables, but AppleID is email , and unity doesnt allow special characters in key.
Any help ?
Thanks !
That’s correct, you need to use your email and password as environment variables in the cloud build config. There’s more info here: Path to the final IPA file
Obviously people don’t like to use their main password for this kind of thing so it’s safer if you create an application specific password that will only work with ‘altool’. To do that go to appleid.apple.com/account/manage and generate an application specific password for ‘application loader’ or ‘itmsTransporter’.
When you say “Unity doesn’t allow special characters in key” do you mean that you are entering the email as the environment variable key? It should instead be entered as a value since you will use the key to lookup the email in your post-build script - if the value has issues with special characters then let me know and I will look into it.
Sorry guys its was just me being stupid and trying to add email as key instead of value.
Its all working good now.
Thanks !