Questions tagged [xcode-cloud]

Use this tag with questions about Xcode Cloud, Apple's CI/CD platform.

80 questions
0
votes
0 answers

Can Xcode Cloud trigger a PR build from a fork?

Xcode Cloud's PR start conditions is great - But what about PRs that are coming from a fork. Not surprisingly I'm getting an error when XCC tries to checkout the source branch: fatal: couldn't find remote ref BRANCH_NAME Is there an easy way…
djschwartz
  • 1,236
  • 3
  • 14
  • 23
0
votes
0 answers

Inserting text into UITextField on tvOS in a Xcode Cloud UI-Test

I am running a UI-Test on Xcode Cloud for a tvOS application (Apple TV), and part of the test includes a text insertion. Since Xcode Cloud automatically provides me with screenshots for every user interaction I can observe that nothing is inserted…
bob
  • 43
  • 1
  • 6
0
votes
0 answers

How to use Github-Package npm private dependency in XCode Cloud

I try manually touch .npmrc and set token into it: touch ~/.npmrc && echo "/npm.pkg.github.com/:_authToken=MY_TOKEN" >> ~/.npmrc BUT still get 401 error, like this: Showing All Messages error An unexpected error occurred:…
0
votes
0 answers

Xcode Cloud UI Overview column missing

The Xcode Cloud UI as shown in the following example screenshot taken from https://wojciechkulik.pl/xcode/xcode-cloud-overview-and-setup shows an "Overview" column where you can drill down and click on stuff. In this example you can click on "Logs"…
Michael Vescovo
  • 3,741
  • 4
  • 32
  • 45
0
votes
1 answer

XCode Cloud PR approval

Currently, we trying to integrate CI/CD into our app. I can setup a workflow like this: PR opened -> TestFlight But we want to use it like this: PR opened -> Code Review PR Approval -> TestFlight Is there any way to catch the Pull Request Approval…
Ruben Nahatakyan
  • 372
  • 3
  • 13
0
votes
1 answer

Is it possible to decrypt files when using Xcode cloud?

Using Github actions I'm able to run a script to decrypt files using gpg. This doesn't seem to work in Xcode cloud (I guess because gpg is not installed there). Is there another way to encrypt and decrypt files when using Xcode cloud for CI? Or…
Michael Vescovo
  • 3,741
  • 4
  • 32
  • 45
0
votes
0 answers

I want to use xcode cloud to make ci cd in flutter project & get error: xcode cloud The sandbox is not in sync with the Podfile.lock?

xcode cloud fails & gives this error: **xcode** cloud The sandbox is not in sync with the *podfile.lock*. this is my script: #!/bin/sh # The default execution directory of this script is the ci_scripts directory. cd $CI_WORKSPACE # change working…
Abdelrahman Tareq
  • 1,874
  • 3
  • 17
  • 32
0
votes
1 answer

Get a version from git tag inside post_commit script

Working on CI and we would like to use tags from git for builds on Xcode Cloud. So idea is that we make atag like "SOMESTRING-XXX.YYY.ZZZ-BUILDNUMBER. Ok build number increments automatically with no problem, but getting the version number is kinda…
Matej P
  • 115
  • 1
  • 3
  • 11
0
votes
1 answer

Is there any way to append Other Swift Flags values with shell script?

I am trying to add Other Swift Flags with shell script but i can't find a way The reason why we want to add Other Swift Flags values in the shell is because we are operating the feature-flags dynamically. Previously, we were passing it as a…
Rei
  • 1
  • 1
0
votes
1 answer

How to run a Xcode Cloud workflow when a specific PR is merged?

I have managed to run some Xcode Cloud workflows when launching a new PR, BUT, is there any way to run a specific workflow when this PR is finally merged? Thanks in advance!
oskarko
  • 3,382
  • 1
  • 26
  • 26
0
votes
1 answer

Automatic merge based on commit message

I am using Xcode Cloud with my iOS project. There are a few workflows based on branches and tags. Commonly one of them is finishing with app publication on the Test Flight. My goal is to make an automation that will be run on develop branch every…
Dzeremix
  • 446
  • 1
  • 5
  • 24
0
votes
2 answers

Xcode Cloud No such Module Cocoapods library

I have a project using a Cocoapods as dependency manager and I am trying to create an Xcode Cloud workflow for it, everything look simple to configure and I added the ci_post_clone.sh to run the pod install command before start building. Based on…
0
votes
1 answer

Xcode Cloud Workflow Fails to Run Tests

I'm trying to configure an Xcode Cloud workflow at the moment that will run a test action whenever changes to a branch are pushed. Here's my Workflow configuration: Here are my schemes: Whenever I run the Workflow, I keep getting this error:
narner
  • 2,908
  • 3
  • 26
  • 63
0
votes
1 answer

XCode Cloud Build Error when deploying to cloud run

XCode Cloud Build Error Check that a scheme called APP exists in APP.xcworkspace, is shared, and is committed to the 'develop' branch, and that this branch has been pushed to your remote repository. How can I handle it?
sean
  • 37
  • 3
0
votes
1 answer

XCode Cloud Running Out Of Space - Says NSLocalizedDescription=Copy failed

Hoping someone else has insight on this, or at the very least it will help others out - When building our app using XCode Cloud runner on appstoreconnect.apple.com, it fails with a very in-descriptive error of NSLocalizedDescription=Copy failed.…
Dr-Bracket
  • 4,299
  • 3
  • 20
  • 28