Closed zhangtaii closed 5 years ago
As far as I understand you ran a build through App center and you got this issue. I can suggest you to look at the guide here newly edited to check if you didn't forget anything in your environnement variables.
@jeremybarbet, thanks for your concern, the problem arise when fasltlane tries to interact with the remote git repo, but fails as no git credential configured in the building server. According to the Docs, seams no git credential exists in the ENV.
P.S. I'm using Azure DevOps to host the git repo, if that could be the cause of the problem?
That could be the case. I haven't tried any other repository providers than GitHub.
Try raising an issue with AppCenter and see what they say. There is a trick to make this work with an ssh-agent though (logging in to git as anyone you like), we had this for v1:
Thanks for the suggestion, I'll give it a try.
I close this issue, feel free to reopen it if needed!
Related logs as below:
[10:04:20]: ▸ [35mfatal: could not read Password for 'https://***@dev.azure.com': Device not configured[0m +----------------------+---------------------+ | [33mLane Context[0m | +----------------------+---------------------+ | DEFAULT_PLATFORM | android | | PLATFORM_NAME | android | | LANE_NAME | android tag_version | | ANDROID_VERSION_NAME | 1.0.1 | | ANDROID_VERSION_CODE | 2 | +----------------------+---------------------+