Commits

Devin Coughlin committed d6b3a2d75e7
WatchKit Overlay: Add availability and temporarily disable availability checking The <Redacted>13A261 iOS SDK adds an availability attribute marking the imported WatchKitErrorCode enum as available only on iOS 8.2 and newer. The WatchKit overlay has a protocol extension for WatchKitErrorCode, so mark the extension as only available on 8.2 and newer. On <Redacted>13A261 this silences a diagnostic complaining that WatchKitErrorCode is only available on 8.2 and newer. However, on <Redacted>13A254 this new annotation itself causes an error because on that SDK WatchKitErrorCode claims to be available on all iOS versions and yet the conformance would only hold on 8.2 and newer. To make this second diagnostic go away, this commit temporarily disables availability checking for the WatchKit overlay. rdar://problem/21099550 tracks re-enabling availability checking when we update the bots, etc. to <Redacted>13A261. rdar://problem/21098396 Swift SVN r29026