How to automatically delete old built archives in xcode continuous integration?
The only useable solutions I found so far is using the REST api of the Xcode server.
Basically you write a script to get all the IDs of the old integrations (using the filter API) and then delete them. Trigger the script from a cron job or jenkins.
Alternative:
Delete all the old integrations from your Xcode server in the file system under /Library/Developer/XcodeServer/IntegrationAssets/
https://honzadvorsky.com/articles/2015-05-04-under-the-hood-of-xcode-server/
If anyone come up with a easier solutions: I'm all ears.