Commit Graph

8 Commits

Author SHA1 Message Date
David Farler
da670c5a34 libswiftWatchKit depends on libswiftCoreLocation
<rdar://problem/21885844>

Swift SVN r30373
2015-07-18 06:55:13 +00:00
Devin Coughlin
cb85eac07e WatchKit Overlay: Remove temporary hack to disable availability checking
Remove a temporary hack added in r29026 that disabled availability checking
for the WatchKit overlay due to SDK update issues. It is no longer needed.

rdar://problem/21099550

Swift SVN r29652
2015-06-25 01:56:58 +00:00
Doug Gregor
57ee3c68a1 watchOS: Disable autolinking against CoreText in PassKit/UIKit/WatchKit overlays.
Addresses a bitcode linking problem when linking with the SDK overlays,
which are built against the internal SDK, against a program built
against the public SDK, which does not have
CoreText. rdar://problem/21246363

Swift SVN r29395
2015-06-15 23:43:37 +00:00
Devin Coughlin
d6b3a2d75e 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
2015-05-26 05:47:56 +00:00
Doug Gregor
077f3d3a36 WatchKit needs to be weak-linked due to missing availability info in the headers.
Swift SVN r28830
2015-05-20 17:25:08 +00:00
Dmitri Hrybenko
a2096f187c Add the WatchKit overlay
rdar://20438380

Swift SVN r28654
2015-05-16 00:32:42 +00:00
Dmitri Hrybenko
7500da41c7 WatchKit depends on UIKit and CoreGraphics
Swift SVN r28608
2015-05-15 03:59:48 +00:00
Doug Gregor
3561cfc8bd Bridge 15 NSError error domains into their corresponding enums.
Introduce a number of small overlays to bridge the NSError domains for
a number of frameworks into existing imported enums. This batch only
covers cases where there is an existing NS_ENUM describing the codes
for the domain, so we need only extend that enum to provide the
appropriate _BridgedNSError conformance.

This is the bulk of rdar://problem/20536610.

Swift SVN r28585
2015-05-14 22:34:29 +00:00