An API and model framework for working with Xcode Server.
This project is being deprecated, and the work is being folded into a new framework. Checkout the 'XcodeServer' framework here
NSURLSession for each
Two static delegates are available for handling SSL and HTTP Authentication for your server:
XCServerWebAPI.sessionDelegate: NSURLSessionDelegate XCServerWebAPI.credentialDelegate: XCServerWebAPICredentialDelegate
There are default objects assigned to these properties.
sessionDelegate will accept and trust SSL certificates even if self-signed.
credentialDelegate will provide no credentials.
XCServerWebAPICredentialDelegate has a default implementation for the method:
credentialsHeader(forAPI:) -> XCServerWebAPICredentialsHeader
that will return a base 64 encoded username password pair for the HTTP Authorization header.