I upgraded our CI server to Sierra with macOS Server 5.2. Xcode Server is configured to use Xcode 8.0 for builds. Previously, we were on El Cap, using Xcode 7.3.1. Previously, builds took about 20-25 minutes to run through. After the upgrade, build times are more like 3-3.5 hours. So we're seeing an almost 10x increase in integration time. We've got some scripts that run during the CI build, but they print out timings and run in a few minutes, as expected. There are no other changes (same hardware, same code base), except that the code was migrated from Swift 2.2 to 2.3 (so minimal changes there). Xcode 8 on the desktop builds normally.
Has something been added to the Xcode Server 5.2 build process that would account for such lengthy build times? I let the server upgrade the bots. Looking through the settings, it seems the same except now it's creating a user-installable product with "Universal App with thinned variants". Does the app thinning require a lot of extra processing?
Interested in hearing if anyone has had a similiar experience.
Thanks,
jay