Skip to content

Commit 27bcfc1

Browse files
committed
Update sourcekitten to 0.23.2
Built with Xcode 10.2.
1 parent 8f7ceba commit 27bcfc1

File tree

7 files changed

+34
-7
lines changed

7 files changed

+34
-7
lines changed

CHANGELOG.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,38 @@
22

33
##### Breaking
44

5-
* None.
5+
* The included `sourcekitten` binary is built with Xcode 10.2. This means
6+
it does not run on macOS earlier than 10.14.4 without the *Swift 5 Runtime
7+
Support for Command Line Tools* being installed.
8+
[John Fairhurst](https://github.com/johnfairh)
69

710
##### Enhancements
811

912
* Support CocoaPods 1.6+. Use the `swift_version[s]` dsl in `--podspec` mode
1013
to set the Swift language version.
1114
[John Fairhurst](https://github.com/johnfairh)
1215

16+
* Show the extension declaration when documenting Swift extensions.
17+
[John Fairhurst](https://github.com/johnfairh)
18+
1319
##### Bug Fixes
1420

1521
* Unfold member documentation when linked to from current web page.
1622
[John Fairhurst](https://github.com/johnfairh)
1723
[#788](https://github.com/realm/jazzy/issues/788)
1824

25+
* Generate docs when there are unusual characters in source pathnames.
26+
[John Fairhurst](https://github.com/johnfairh)
27+
[#1049](https://github.com/realm/jazzy/issues/1049)
28+
29+
* Generate docs for signed modules with Xcode 10.2.
30+
[John Fairhurst](https://github.com/johnfairh)
31+
[#1057](https://github.com/realm/jazzy/issues/1057)
32+
33+
* Use correct module name when only target name is supplied.
34+
[Chris Zielinski](https://github.com/chriszielinski)
35+
[#422](https://github.com/realm/jazzy/issues/422)
36+
1937
## 0.9.6
2038

2139
This is (probably) the last release to support Ruby earlier than 2.3.

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jazzy --swift-version 4.1.2
235235

236236
## Troubleshooting
237237

238-
#### Swift
238+
### Swift
239239

240240
**Only extensions are listed in the documentation?**
241241

@@ -253,7 +253,7 @@ Check the `--min-acl` setting -- see [above](#controlling-what-is-documented).
253253
environment variable to point to the Xcode you want before running Jazzy
254254
without the `--swift-version` flag.
255255

256-
#### Installation Problems
256+
### Installation Problems
257257

258258
**Can't find header files / clang**
259259

@@ -268,6 +268,14 @@ The path of your active Xcode installation must not contain spaces. So
268268
but `/Applications/Xcode 10.2.app/` is not. This restriction applies only
269269
when *installing* Jazzy, not running it.
270270

271+
### MacOS Before 10.14.4
272+
273+
Starting with Jazzy 0.10.0, if you see an error similar to `dyld: Symbol not found: _$s11SubSequenceSlTl` then you need to install the [Swift 5 Runtime Support for Command Line Tools](https://support.apple.com/kb/DL1998).
274+
275+
Alternatively, you can:
276+
* Update to macOS 10.14.4 or later; or
277+
* Install Xcode 10.2 or later at `/Applications/Xcode.app`.
278+
271279
## Development
272280

273281
Please review jazzy's [contributing guidelines](https://github.com/realm/jazzy/blob/master/CONTRIBUTING.md) when submitting pull requests.

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ begin
104104
task :sourcekitten do
105105
sk_dir = 'SourceKitten'
106106
Dir.chdir(sk_dir) do
107-
`swift build -c release -Xswiftc -static-stdlib`
107+
`swift build -c release`
108108
end
109109
FileUtils.cp_r "#{sk_dir}/.build/release/sourcekitten", 'bin'
110110
end

SourceKitten

Submodule SourceKitten updated 71 files

bin/sourcekitten

-9.16 MB
Binary file not shown.

lib/jazzy/sourcekitten.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,8 @@ def self.prefer_parsed_decl?(parsed, annotated)
391391
parsed &&
392392
(annotated.include?(' = default') || # SR-2608
393393
parsed.match('@autoclosure|@escaping') || # SR-6321
394-
parsed.include?("\n"))
394+
parsed.include?("\n") ||
395+
parsed.include?('extension '))
395396
end
396397

397398
# Replace the fully qualified name of a type with its base name

spec/integration_specs

0 commit comments

Comments
 (0)