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
76
votes
3 answers

Xcode Service (Mavericks) errors when run unit tests is enabled

When an Xcode Service bot attempts to perform a build with run unit tests enabled, the build will always fail. When I look at the log file, the same error repeats many times: xcsbuildd[1966] : [XCSBuildOperation.m:106 7368f310 +2126ms]…
Adam Young
  • 1,217
  • 10
  • 18
61
votes
1 answer

Bots can't be created from Xcode Server hosted repository

After creating a new repository on my Xcode Server, I can't access it by ssh, but I can perform both the git clone command and the git push command by using the https protocol. Furthermore I encounter the following error when I try to create a…
larryhou
  • 725
  • 4
  • 14
28
votes
3 answers

Xcode Server ibtool Build Failures

I have been investigating using Xcode Server for CI. I've worked through some of the problems, but now have a problem that has stumped me. The builds seem to work alright, but then hangs during the testing phase, and produces this at the bottom of…
H2OBorne
  • 319
  • 3
  • 11
18
votes
1 answer

Xcode 9 Server: Unable to boot device due to insufficient system resources

I'm trying to run my unit tests on all device simulators from iOS 8.4 to 11.0 at the same time by checking the option 'Run test in parallel' when setting up the Xcode Bot. Unfortunately after trying to boot the 13th simulator it failes with the…
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
18
votes
3 answers

Xcode bot fails with "no activity for too long" error

My Xcode bot integrations fail with the following error. Assertion: Running task was terminated because it produced no activity for too long. From the bottom of the log: Sampling completed, processing symbols... Sample analysis of process 4470…
Evgenii
  • 36,389
  • 27
  • 134
  • 170
14
votes
4 answers

Xcode 9 enable Server fails because "xcsd" keychain password

I currently try to setup an Xcode Server with Xcode 9 but I stuck with this Keychain Password request. I guess it has something to do with the previous Xcode/OS X Server Installation as there Xcode Server was part of OS X Server. But how do I get…
MatzeLoCal
  • 392
  • 3
  • 14
14
votes
1 answer

Xcode 7 + Bots + Fastlane: How to automatically deploy an app to itunes connect using Fastlane's Deliver

Question: How can I upload an IPA to itunesconnect from a Bot running on Xcode 7 and Server 4.1 using Deliver? I've been able to set up a continuous integration solution in with Xcode 6.4, Server 4.1 using bots, and Deliver (by fastlane). Once I…
14
votes
5 answers

OS X 3.2.1 CI "pending integration"

Over the past few days, I've been working on getting CI working with an external mac mini running OS X Server. However, I have been having many problems with OS X Server 3.2.1 and XCode 6.1b3. It looks like Apple fixed an issue in Xcode 6.1b3 which…
iosfreak
  • 5,228
  • 11
  • 59
  • 102
13
votes
2 answers

Xcode Server CI Bot Test Session exited(-1)

I am getting an error when trying to run tests on XcodeServer against simulator devices. The tests sometimes pass for one device and fail for another, but the failing device is not always the same one. This can happen in a single session. The log…
Caroline
  • 311
  • 1
  • 9
11
votes
1 answer

Cocoapods - Specify Source Repo Username

Using Cocoapods v0.34.4 My Podfile contains the following source 'https://bitbucket.org/MyRepo/My-podspecs.git' source 'https://github.com/CocoaPods/Specs.git' When I run pod install I need to specify a username/password for my bitbucket account.…
Brian Boyle
  • 2,849
  • 5
  • 27
  • 35
11
votes
4 answers

Xcode Server CI builds fail to install with iOS 7.1

We currently have our Xcode server set up for our CI build. When trying to download the builds on a device i am greeted with 'Cannot connect to server.local' when visited over SSL. When i try to download over http i am created with 'cannot install…
Dan
  • 1,447
  • 2
  • 14
  • 30
10
votes
1 answer

Unable to update Xcode server from Xcode 9.4.1 to Xcode 10

I updated my Mac Mini to Mojave also updated to Xcode 10, I've Xcode server configured in my Xcode 9.4.1 it was running even having some issues like couldn't able to install IPA directly into the device. Today I updated my Xcode and tried to update…
svs
  • 247
  • 2
  • 14
10
votes
2 answers

Xcode Server 4.0 git push from build trigger script

I installed an Xcode Bot for a project that is hosted on github. I followed the steps and setup bot to use my existing SSH key. The verification succeeds and the project will checkout and build. I then added a shell script in the pre-trigger…
andrewmclean
  • 427
  • 3
  • 15
10
votes
4 answers

Xcode Service: Select Git Branch

I started to set up the new Xcode service in Mavericks. I created a new bot - but I wasn't asked for the branch it should build? How can I select the branch for each bot? I do not only want to build master, but different branches too.
fabb
  • 11,660
  • 13
  • 67
  • 111
9
votes
1 answer

Reference 'refs/heads/master' not found error

I'm working with Xcode and GIT to create an automatic build service. One of the bots looks on the Release branch every 5 minutes and builds it in case there are new commits. Recently i've been starting to get the following error: Assertion:…
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
1
2 3
12 13