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

How to get SHA of commit for Xcode Bot "Run Script" Trigger? Updating status of tests on Github

I have created an Xcode Bot that integrates on each commit. In the "Run Script" Trigger I would like to update the current GitHub commit with the integration status of Tests that were run. Pretty standard CI stuff. I'll then be running a script…
pkamb
  • 33,281
  • 23
  • 160
  • 191
6
votes
1 answer

Xcode does not quit after test

I am using Server and Xcode 8. I saw a new feature, to isolate the testing, for each integration bot a new Xcode is launched. But it can not quit itself after the integration is completed :) and then Xcode crashes and no integration tests can be…
Mihriban Minaz
  • 3,043
  • 2
  • 32
  • 52
6
votes
1 answer

Setting Xcode Build Settings Terminal

I want to change build settings of a .xcodeproj without using Xcode IDE but through terminal commands (Codesigning Identity and Provisioning Profile to be exact). I have searched all over but only found commands to build/archive the project from…
6
votes
3 answers

Xcode Bots:: Creating archive failed: xcodebuild exited with status 65

My integration succeeded but archive fails every-time with following warning mentioned below -: **Warning: Build Service Error:** Creating archive failed: xcodebuild exited with status 65. **Warning: Build Service Error:** Skipping exporting from…
6
votes
1 answer

Crashlytics build script fails on Xcode Server CI

I'm running Xcode Server 3.0.1 on an iMac, also hosting the Git project repository, and Xcode 5.0.2 on MacBookPro. I used the Crashlytics app to get the framework integrated into the project and the dashboard account set up. The bot build…
seeker12
  • 731
  • 2
  • 8
  • 20
5
votes
1 answer

Controlling access to the Xcode 9 server webpage

Xcode server provides a web page to monitor any bots defined on that server. The page is at https://machine.domain.com/xcode. That page displays status of each bot, and provides an Integrate button to rerun an integration manually. That page is…
Hal Mueller
  • 7,019
  • 2
  • 24
  • 42
5
votes
1 answer

Xcode 9 and Xcode server: user is not logged in

Before High Sierra and Xcode9, xcode server was managed from server.app and was working fine. Since updating to High Sierra and Xcode9, I have been having trouble with xcode server. Integrations are pending because the bot user is not logged…
vbvx
  • 609
  • 7
  • 22
5
votes
1 answer

Crashlytics: Unable to package source due to error

I am setting up an Xcode Bot to automatically upload and distribute my beta app. I have setup a mac with macOS Server and Xcode activated and am able to build and export an IPA manually just fine. The Xcode Bot I created also archives and exports an…
JimmyJammed
  • 9,598
  • 19
  • 79
  • 146
5
votes
1 answer

How to backup bots OS X Server

Is there a way to backup bots on server app in OS X? I have bots configured, and need to reinstall OS X on my machine. Is there a way to backup these bots (or maybe the entire server configuration), and then rebuild it from that backup?
Jakub
  • 13,712
  • 17
  • 82
  • 139
5
votes
1 answer

Xcode Server Bot Issue: warning. Build Service Error. Issue: archive at path 'some/path' is malformed

I'm using Cocoapods and KIF to run Continuous Integration on an Xcode server. I have successfully set this up for one project to report on each commit. I'm now using a second project and get the error: Bot Issue: warning. Build Service…
artumi
  • 105
  • 8
5
votes
4 answers

Can't install ipa generated by Xcode Server bot on the device

I've got my Xcode server setup on a mac mini. Downloading the .ipa from https://pandora.local/xcode/ using Itunes works just fine. I tried installing it directly from the phone from safari. It installs a certificate but when I click install it gives…
Lescai Ionel
  • 4,216
  • 3
  • 30
  • 48
5
votes
1 answer

Xcode Server bot unable to read property lists using defaults command

One of my targets is an external build tool that uses the defaults command to read a property list. When a bot runs that tool, the defaults command fails to find the specified default: defaults read…
4
votes
1 answer

How to run Xcode Build Server under Rosetta?

I have a configured Xcode Server on an M1 mac mini. Due to some issues which are outside of the scope of the question, I have to run the server so it builds the project under Rosetta. However, that does not seem to work by ticking the "Run under…
Adrian
  • 415
  • 4
  • 18
4
votes
3 answers

Xcode Server Bot not sending email reports

I am running Xcode Server Bots on my local iMac but the email notifications are not being sent. I have followed many tutorials and have postfix setup and working. I can successfully send emails using the command sudo echo "Test sending email from…
Darren
  • 10,182
  • 20
  • 95
  • 162
4
votes
0 answers

How does Xcode server run tests in release mode without Enable Testability?

When using Xcode server to execute UI Tests, the bot has a setting to 'override' the configuration to Release mode. This was handy as tests would be executed on release build. Now when I am trying to run tests on TeamCity or CLI and pass the…
Alexandre G
  • 1,655
  • 20
  • 30
1 2
3
12 13