diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b9d411..2759f72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ x.y.z Release Notes (yyyy-MM-dd) * Re-calculating the darker tap color when moving between light and dark mode. * Changed the tap-down animation to always use a fluid zoom animation. +* A broken symlink reference in the SPM integration. 1.1.3 Release Notes (2020-12-12) ============================================================= diff --git a/Package.swift b/Package.swift index e37b544..2890d9e 100644 --- a/Package.swift +++ b/Package.swift @@ -1,27 +1,22 @@ // swift-tools-version:5.0 -// The swift-tools-version declares the minimum version of Swift required to build this package. - import PackageDescription let package = Package( name: "TORoundedButton", platforms: [ - .iOS(.v10) + .iOS(.v12) ], products: [ .library( name: "TORoundedButton", + type: .static, targets: ["TORoundedButton"] ) ], targets: [ .target( name: "TORoundedButton", - path: ".", - sources: [ - "TORoundedButton/TORoundedButton.m" - ], - publicHeadersPath: "include" + path: "spm" ) ] ) diff --git a/TORoundedButton/TORoundedButton.h b/TORoundedButton/TORoundedButton.h index cb1d954..f6f02a8 100644 --- a/TORoundedButton/TORoundedButton.h +++ b/TORoundedButton/TORoundedButton.h @@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN @class TORoundedButton; +NS_SWIFT_NAME(RoundedButtonDelegate) @protocol TORoundedButtonDelegate /// Called when the user taps on the associated button. diff --git a/include/TORoundedButton.h b/include/TORoundedButton.h deleted file mode 120000 index a4e16cc..0000000 --- a/include/TORoundedButton.h +++ /dev/null @@ -1 +0,0 @@ -/Users/TiM/Projects/TORoundedButton/TORoundedButton/TORoundedButton.h \ No newline at end of file diff --git a/spm/TORoundedButton.m b/spm/TORoundedButton.m new file mode 120000 index 0000000..73562b4 --- /dev/null +++ b/spm/TORoundedButton.m @@ -0,0 +1 @@ +../TORoundedButton/TORoundedButton.m \ No newline at end of file diff --git a/spm/include/TORoundedButton.h b/spm/include/TORoundedButton.h new file mode 120000 index 0000000..b8ea986 --- /dev/null +++ b/spm/include/TORoundedButton.h @@ -0,0 +1 @@ +../../TORoundedButton/TORoundedButton.h \ No newline at end of file