diff --git a/CHANGELOG.md b/CHANGELOG.md index d962172..ff79361 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [0.3.3] - 2019-11-19 +- [Added] CocoaPods support macOS and tvOS + +## [0.3.2] - 2019-10-17 +- [Added] CocoaPods support + ## [0.3.1] - 2019-07-20 - [Removed] OS version requirements of Package.swift #1 diff --git a/NSAttributedStringBuilder13.podspec b/NSAttributedStringBuilder13.podspec index dd0cc0e..b552954 100644 --- a/NSAttributedStringBuilder13.podspec +++ b/NSAttributedStringBuilder13.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'NSAttributedStringBuilder13' - s.version = '0.3.2' + s.version = '0.3.3' s.summary = 'Composing NSAttributedString with SwiftUI-style syntax, powerd by the now pitching Function Builder.' # This description is used to generate tags and improve search results. @@ -33,6 +33,8 @@ Project Link: https://github.com/ethanhuang13/NSAttributedStringBuilder s.social_media_url = 'https://twitter.com/ethanhuang13' s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.10' + s.tvos.deployment_target = '9.0' s.source_files = 'Sources/NSAttributedStringBuilder/*', 'Sources/NSAttributedStringBuilder/Components/*' diff --git a/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift b/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift index 7ff1801..dd45efd 100644 --- a/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift +++ b/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift @@ -1,6 +1,7 @@ #if canImport(UIKit) import UIKit +#if !os(watchOS) public typealias ImageAttachment = NSAttributedString.ImageAttchment extension NSAttributedString { @@ -26,3 +27,5 @@ extension NSAttributedString { } } #endif + +#endif