Skip to content

Commit

Permalink
Fixed error compiling Swift podspec in Xcode 10
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Sep 24, 2018
1 parent 83cebe5 commit fa07f38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
[John Fairhurst](https://github.com/johnfairh)
[#972](https://github.com/realm/jazzy/issues/972)

* Fix error compiling a Swift podspec in Xcode 10.
[Minh Nguyễn](https://github.com/1ec5)
[#970](https://github.com/realm/jazzy/issues/970)

## 0.9.3

##### Breaking
Expand Down
2 changes: 1 addition & 1 deletion lib/jazzy/podspec_documenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def sourcekitten_output(config)
targets.map do |t|
args = %W[doc --module-name #{podspec.module_name} -- -target #{t}]
swift_version = (config.swift_version || '4')[0] + '.0'
args << "SWIFT_VERSION=\"#{swift_version}\""
args << "SWIFT_VERSION=#{swift_version}"
SourceKitten.run_sourcekitten(args)
end
end
Expand Down

0 comments on commit fa07f38

Please sign in to comment.