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
1
vote
0 answers

Xcode server pre-integration script trigger exited with non-zero status 127

I have an Xcode project that builds perfectly fine on my client computer and server computer. I am trying to build it via xcode server and since I am using cocoapods for some dependencies my understanding is that I need a pre-integration script that…
ez4nick
  • 9,756
  • 12
  • 37
  • 69
1
vote
0 answers

Xcode Server - Run Integration on Pull Request

I am setting up CI on Xcode Server and I am trying to start integration as soon as Pull requests are created. My repository is on GitHub. Is there any way it can be done. I didn’t find any option in Xcode Server. Only thing I have found is to change…
1
vote
0 answers

Xcode Server 11 Export Archive Fails

The 11.x series of Xcode seems to have broken Xcode Server. Every bot that is configured to output an archive at the end of processing now fails. The raw output log looks like the following: /usr/bin/codesign --force --sign - --entitlements…
richardpiazza
  • 1,487
  • 10
  • 23
1
vote
0 answers

How to use one XCTestCase class for many targets

I have white label project (many app's on one source code). Usually I reuse one ViewController for many targets, but to test this ViewController in different targets I must add: @testable import TargetName I have tried to create Swift Compiler -…
1
vote
1 answer

Setting up Xcode Server to create archives and upload to TestFlight on commit

Up until this point I have been manually archiving and publishing to TestFlight. This wouldn't be an issue except when I include arm7 as a supported arch type, my archival time takes a giant leap from around 90 seconds (only targeting arm64) to…
ThomasHaz
  • 527
  • 4
  • 16
1
vote
0 answers

Unsupported URL Protocol (-1)

I am trying to implement continues integration with xcode server on xcode 9.2 After completing all the steps when i create a new project then under source control its not showing a drop down from where i can select the server that i have created…
KsK
  • 675
  • 1
  • 10
  • 22
1
vote
1 answer

Xcode 10 Server: React Native RCTWebSocket libfishook.a remove and add again

I'm trying to make a bot to continuously integrate my React Native XCode project. After upgrading to XCode 10, I have faced many problems like https://github.com/facebook/react-native/issues/14382…
Divyansh Goenka
  • 997
  • 2
  • 12
  • 35
1
vote
0 answers

How to add multiple teams to Xcode server? (Enterprise and Developer teams)

This is with Xcode 10. I have 2 different Apple IDs associated with the same project. One is for the Enterprise Program, builds for distribution within the company. The other is for Developer Program builds, to be submitted to App Store. How can i…
nChetan
  • 193
  • 1
  • 11
1
vote
1 answer

Xcode Server Bots API: Updating a bot with PATCH request

I would like to edit my Xcode bot through the Xcode Server API by sending the blueprint through PATCH. However, when I send my PATCH request, Xcode Server replies back an unchanged json of my old blueprint. My request is curl -X PATCH -H…
1
vote
0 answers

Xcode service option is missing in the Services list of Server app

I have Xcode 9.2 and Server app 5.5 both installed. When I opened Server app, i couldn't find the Xcode option to setup xcode. I have tried re-installing the xcode after the server app setup. But it still doesn't show up. Server app Services…
Ami Patel
  • 71
  • 6
1
vote
2 answers

Error with bots Xcode 9

My team decided to integrate our code with Xcode Server to use Continuous Integration. We use a Mac Mini for host the Xcode Server, and we can create bots without problems in this machine, but the integration proccess always fails. We have in…
AntonioM
  • 655
  • 9
  • 16
1
vote
0 answers

Xcode 9 Continuous Integration with xcworkspace (CocoaPods)

I'm trying to set up a Continuous Integration Environment with the build in Xcode Server using Xcode9-beta. I successfully set up the server and running it on my local Mac. After setting up the server I created a Xcode Bot, but when I want to…
KNV
  • 631
  • 4
  • 19
1
vote
1 answer

Xcode Server - Xcode 9 - Uses An Old Provisioning Profile

Xcode archives successfully using the latest - and correct - provisioning profile. However, the Bots configured in Xcode Server still use an older profile. This can be seen if one authenticates as xcodeserver user and navigates to…
Max MacLeod
  • 26,115
  • 13
  • 104
  • 132
1
vote
0 answers

fastlane credentials with xcode server

Hi I'm running fastlane after xcode server is done with some processes. I am adding credentials like HOCKEYAPP_API_TOKEN, FASTLANE_USER, FASTLANE_PASSWORD inside .env.default file which is not good to include inside repository. What is a good way…
Ted
  • 22,696
  • 11
  • 95
  • 109
1
vote
1 answer

Xcode Server "cannot connect to server" after restart

I just installed and setup Xcode 9 on my laptop, i've also installed Xcode 9 on a Mac Mini and enabled Xcode server on it, and created a second user "xcodeserver". I went to the Xcode server website, found my integration, installed the profile,…
Simon McLoughlin
  • 8,293
  • 5
  • 32
  • 56