1

I have one project and in which I have multiple private cocoa pods. i hosted all pods in my private git repository. I have local pod specs repository which have multiple pod specs for different pods. all pods are accessible using SSH only.

I want to setup iOS app build pipeline to Xcode Cloud. I am successfully able to clone main pod specs repository by adding secondary repository.

while starting to the pod install, cocoa pod starting to clone pod from bitbucket and at that time its failing due to access.

I have around 50 private pods and based on the project requirement usage of number of pods different so I can not keep giving access to private pod repository one by one,

I am thinking to generate one ssh key for Xcode cloud and every time build start I install that ssh key to Xcode cloud machine which may help to get rid of granting access.

I have very limited knowledge of operating systems so please help.

1 Answer 1

0

Xcode Cloud does not require an SSH key for Bitbucket Cloud. When you click “Grant Access” during setup or under Xcode Cloud → Settings → Repositories → Additional Repositories, an OAuth authorization dialog from Bitbucket will automatically appear.

Simply click “Grant access” in that Bitbucket dialog, after that, the repository is connected to Xcode Cloud, and all builds can access your private Bitbucket repositories.

See https://developer.apple.com/documentation/xcode/connecting-xcode-cloud-to-bitbucket-cloud

Below is an image of the “Grant access” screen in Xcode Cloud (it’s in German, but you’ll get the idea).

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.