you can add an access by creating .netrc file inside ci_post_clone.sh.
so, first of all create and add ci_post_clone.sh file docs are here: https://developer.apple.com/documentation/xcode/writing-custom-build-scripts
secondly, add something similar to my one:
#!/bin/sh.
rm -rf ~/.netrc
echo "machine bitbucket.org" > ~/.netrc
echo "login YOUR_LOGIN" >> ~/.netrc
echo "password YOUR_PASSWORD_OR_APP_TOKEN" >> ~/.netrc
echo "" >> ~/.netrc
echo "" >> ~/.netrc
chmod 600 ~/.netrc
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: