Questions tagged [xcode-server]

Xcode Server is the name for the Xcode service previously in OS X Server, but as of Xcode 9, integrated into Xcode itself. This is Apple's continuous integration product for iOS and OS X development.

If you have questions specific to Bots in Xcode Server, use tag instead.

189 questions
2
votes
1 answer

XCode Bots API configuration edit fails

I want to change via the XCode Bots API the scheme name of a bot. A request like curl -XPATCH -H 'Content-Type: application/json' -H 'x-xcsclientversion: 8' https://localhost:20343/api/bots/botid123 -d '{"name": "myawesomebot2"}' to change the bot…
ideveloper
  • 473
  • 1
  • 4
  • 10
2
votes
1 answer

Xcode Server / BOT cannot find the provision profile

I set up OS X Server/Xcode server and created a BOT for CI. Everything seems fine except the installable product/archive.ipa cannot be created because the archive failed. This is the error: Build Service Issues: Bot Issue for Bot1 (build service…
Sean
  • 2,967
  • 2
  • 29
  • 39
2
votes
1 answer

Xcode Server Bot integration fails to export archive: Error Domain=IDEDistributionErrorDomain Code=1 "The operation couldn’t be completed."

2016-02-17 13:54:56.823 xcodebuild[26605:1155454] [MT] IDEBuildOperationQueueSetResourceManagement: Resetting max operation count to 6 ** ARCHIVE SUCCEEDED ** $ /usr/bin/xcrun xcodebuild -exportArchive -archivePath…
Sheldon
  • 31
  • 4
2
votes
2 answers

How do I delete multiple integrations at once in Xcode 7?

We ran out of disk space on the CI server (!) and have decided to clean up some older integrations. However, I can find no way to multi-select integrations in the Report navigator. Is this possible? (I suppose there might be a way via the…
Jedidja
  • 16,610
  • 17
  • 73
  • 112
2
votes
1 answer

Is there a way to force an Xcode bot to do a clean checkout?

I erroneously thought selecting "Cleaning: Always" in the "Schedule" tab of an Xcode bot configuration would force the bot to rm -rf its checkouts directory at the start of every integration, but this does not appear to be the case. (Specifically,…
Robert Atkins
  • 23,528
  • 15
  • 68
  • 97
2
votes
1 answer

xcode server with JIRA

I am trying to send Xcode server build/test result to JIRA. But not sure what I can do here. I assume I can write a script to listen to the event of the Xcode server, when a build is completed then call the JIRA api. This is technically feasible but…
user3574111
  • 523
  • 1
  • 4
  • 6
2
votes
2 answers

Xcode server fails when trying to run shell scripts

I'm having an issue where my bots on the Xcode server are failing when trying to run my project's shell script: Shell Script Invocation Error: Command /bin/sh failed with exit code 252 How can I fix this? Should I prevent the Xcode server from…
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
2
votes
2 answers

Change source control credentials for an Xcode Server Bot?

I followed Apple's directions for creating a new bot. During one of the steps it asked for the credentials for the source control system. I entered in a username/password not realizing that I wouldn't be able to change it easily in the future. How…
Senseful
  • 86,719
  • 67
  • 308
  • 465
2
votes
1 answer

Why does my Xcode bot trigger twice?

I've been working on using Xcode server to build my app, and have been running into some snags. The most recent involves Bots running over-zealously. I'll commit and push one change to one file, and two builds get triggered, separated by a minute or…
Dov
  • 15,530
  • 13
  • 76
  • 177
2
votes
1 answer

Xcode Server OTA App Installs iOS 8 Issue

I have the same issue that is mentioned here: Enterprise App Update Distribution on iOS 8 I'm not able to install the App on one of my iOS 8 devices and the log prints the following error: LoadExternalDownloadManifestOperation: Ignore manifest…
Collin
  • 6,720
  • 4
  • 26
  • 29
2
votes
1 answer

Xcode Server: concurrent bot builds?

Is there any way to get multiple bots building simultaneously? I cannot find any documentation about this (Xcode Server docs are pretty thin as is). Thanks.
MattD
  • 380
  • 1
  • 15
2
votes
0 answers

Xcode server does not show xcode configured git repository

I'm setting up an XCode Server to get some CI Bots going for a project I'm doing. I have Xcode (6.1.1) configured to connect to a remote git repo, and everything works fine. All VCS operations works as expected. I then installed XCode server (4.0.3)…
Niklas
  • 125
  • 9
2
votes
1 answer

NSURL bookmarks failing in unit tests on Xcode Server

In the unit tests for my app, I create an document-scoped NSURL bookmark. These tests have always worked correctly on my machine (and still do), but are now failing when run on an Xcode Server bot. I don't codesign the unit test bundle. -…
Dov
  • 15,530
  • 13
  • 76
  • 177
2
votes
3 answers

FacebookSDK with Continuous Integration - Xcode

I've got a project on Xcode which works with FacebookSDK. As recommanded by facebook, the SDK is installed on ~/Documents/FacebookSDK, and in my Build Settings, I had this path to the "Framework Search Paths" part. Everything works fine, but I'm…
1
vote
0 answers

build Increment fails shell script when using Xcode Server bot

So, I have an Xcode Server bot with an trigger. This trigger is a pre integration script. #!/bin/sh buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion"…