[swift-dev] [SourceKit] Include sourcekitd.h in distributed toolchain
kyrtzidis at apple.com
Wed Aug 10 19:25:31 CDT 2016
> On Aug 9, 2016, at 5:32 PM, Ryan Lovelett via swift-dev <swift-dev at swift.org> wrote:
> The `soucekitd.framework` that comes bundled with Xcode does not include
> the headers, specifically `sourcekitd.h` . On the other hand, the
> toolchains that get downloaded from Swift.org do come with the headers.
> Is there any particular reason for this?
The header is not currently bundled with Xcode because it is not considered a supported stable API.
The toolchain snapshots from swift.org do not make any promises about stable APIs so we include it with those.
> The reason why I ask is that libraries that interface with SourceKit,
> e.g., SourceKitten  and node-sourcekit , are having to bundle the
> `sourcekitd.h` in their code bases  in order to compile against
> the distributed framework. It would be wonderful the _standard_
> distributed framework on macOS contained the headers.
> I understand that this is not exactly the correct forum to ask Xcode
> questions. But this one does not strike me as a _strictly_ Xcode
> question. Of course if it is I suppose I will file a Radar.
>  https://github.com/jpsim/SourceKitten
>  https://github.com/RLovelett/node-sourcekit
> swift-dev mailing list
> swift-dev at swift.org
More information about the swift-dev