buildasaurs / XcodeServerSDK

Access Xcode Server API with native Swift objects.
MIT License
398 stars 30 forks source link

Detect XCS API version in server responses #20

Closed czechboy0 closed 9 years ago

czechboy0 commented 9 years ago

We might need to drop support for old API versions in the future, so we need a way to verify that we're not attempting to talk to an incompatible version of the API.

Will be useful when user upgrades their XCS and we can throw and error telling them to upgrade their XcodeServerSDK version as well.

czechboy0 commented 9 years ago

Actually, work for this is already done on a branch. I don't want to merge this until we add proper Xcode 7 support (which means fixing all these issues).