I am using Fastlane-Pilot to upload builds to iTunesConnect.
I add required Fastlane environment variables:
- FASTLANE_PASSWORD
- PILOT_USERNAME
to CircleCI's Environment Variables (https://circleci.com/gh/:your-name/edit#env-vars).
However Pilot command fails with "Invalid user credentials" error.
And when I use the same password in my local machine, it succeeds.
I added a line to my
circle.yml
to debug my environment variables as they are not available even during SSH session:and I saw that CircleCI didn't take all of the password that I put into Environment Variables through their UI. My password had several special symbols and CircleCI couldn't escape them correctly.
I hope they will fix that in the future but for now, you shouldn't use that kind of passwords with CircleCI