Skip to content

Commit

Permalink
Merge pull request #1004 from realm/1ec5-podspec-xcode-10-970
Browse files Browse the repository at this point in the history
Fix error compiling Swift podspec in Xcode 10
  • Loading branch information
johnfairh committed Sep 24, 2018
2 parents 83cebe5 + fa07f38 commit 0d7c28d
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 0d7c28d

Please sign in to comment.