Skip to content

Commit

Permalink
Version 5.0.2.
Browse files Browse the repository at this point in the history
For CocoaPods, specify supported Swift versions.
  • Loading branch information
jdhealy committed Mar 25, 2019
1 parent 481aed7 commit afd4553
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion PrettyColors.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'PrettyColors'
spec.version = '5.0.1'
spec.version = '5.0.2'
spec.summary = 'Styles and colors text in the Terminal with ANSI escape codes. Conforms to ECMA Standard 48.'
spec.homepage = 'https://github.com/jdhealy/PrettyColors'
spec.license = { :type => 'MIT', :file => 'LICENSE.md' }
Expand All @@ -10,6 +10,7 @@ Pod::Spec.new do |spec|
spec.social_media_url = 'http://twitter.com/jdhealy'
spec.source = { :git => 'https://github.com/jdhealy/PrettyColors.git', :tag => "#{spec.version}" }
spec.source_files = 'Source/**/*.{h,swift}'
spec.swift_versions = ['3.0', '4.0', '4.2', '5.0']

This comment has been minimized.

Copy link
@ikesyo

ikesyo Mar 27, 2019

Contributor

@jdhealy As reported in #23, this doesn't work with the current stable CocoaPods 1.6.x. The swift_versions DSL is added in 1.7.0 which is still in beta: http://blog.cocoapods.org/CocoaPods-1.7.0-beta/. So you should use it conditionally using respond_to?.

This comment has been minimized.

Copy link
@giginet

giginet May 13, 2019

Must we still support 3.0?
Xcode 10.2 dropped support 3.0.

spec.requires_arc = true
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.9'
Expand Down
2 changes: 1 addition & 1 deletion Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>5.0.1</string>
<string>5.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>5.0.1</string>
<string>5.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit afd4553

Please sign in to comment.