diff --git a/Bluejay.podspec b/Bluejay.podspec index 67a7892..2514483 100644 --- a/Bluejay.podspec +++ b/Bluejay.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |spec| spec.name = 'Bluejay' - spec.version = '0.8.6' + spec.version = '0.8.7' spec.license = { type: 'MIT', file: 'LICENSE' } spec.homepage = 'https://github.com/steamclock/bluejay' spec.authors = { 'Jeremy Chiang' => 'jeremy@steamclock.com' } spec.summary = 'Bluejay is a simple Swift framework for building reliable Bluetooth apps.' spec.homepage = 'https://github.com/steamclock/bluejay' - spec.source = { git: 'https://github.com/steamclock/bluejay.git', tag: 'v0.8.6' } + spec.source = { git: 'https://github.com/steamclock/bluejay.git', tag: 'v0.8.7' } spec.source_files = 'Bluejay/Bluejay/*.{h,swift}' spec.framework = 'SystemConfiguration' spec.platform = :ios, '11.0' diff --git a/Bluejay/.jazzy.yaml b/Bluejay/.jazzy.yaml index 7013340..78078d2 100644 --- a/Bluejay/.jazzy.yaml +++ b/Bluejay/.jazzy.yaml @@ -2,7 +2,7 @@ output: ../docs author: Steamclock Software author_url: http://steamclock.com module: Bluejay -module_version: 0.8.5 +module_version: 0.8.7 readme: ../README.md sdk: iphone copyright: Copyright © 2017 Steamclock Software. All rights reserved. diff --git a/Bluejay/Bluejay.xcodeproj/project.pbxproj b/Bluejay/Bluejay.xcodeproj/project.pbxproj index c8cd886..a76c26d 100644 --- a/Bluejay/Bluejay.xcodeproj/project.pbxproj +++ b/Bluejay/Bluejay.xcodeproj/project.pbxproj @@ -1126,7 +1126,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 0.8.6; + MARKETING_VERSION = 0.8.7; PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.Bluejay; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -1153,7 +1153,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 0.8.6; + MARKETING_VERSION = 0.8.7; PRODUCT_BUNDLE_IDENTIFIER = com.steamclock.Bluejay; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; diff --git a/Bluejay/Bluejay/BackgroundRestoreConfig.swift b/Bluejay/Bluejay/BackgroundRestoreConfig.swift index 3a603d8..c77d7d4 100644 --- a/Bluejay/Bluejay/BackgroundRestoreConfig.swift +++ b/Bluejay/Bluejay/BackgroundRestoreConfig.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit /// Contains all required configurations for background restoration. public struct BackgroundRestoreConfig { diff --git a/Bluejay/Bluejay/BackgroundRestorer.swift b/Bluejay/Bluejay/BackgroundRestorer.swift index 0231ecb..805cf43 100644 --- a/Bluejay/Bluejay/BackgroundRestorer.swift +++ b/Bluejay/Bluejay/BackgroundRestorer.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit /** * Protocols for handling the results of a background restoration. diff --git a/Bluejay/Bluejay/Bluejay.swift b/Bluejay/Bluejay/Bluejay.swift index b1c9d89..b962af3 100644 --- a/Bluejay/Bluejay/Bluejay.swift +++ b/Bluejay/Bluejay/Bluejay.swift @@ -6,8 +6,9 @@ // Copyright © 2017 Steamclock Software. All rights reserved. // -import CoreBluetooth import Foundation +import UIKit +import CoreBluetooth import XCGLogger /** diff --git a/Bluejay/Bluejay/ListenRestorer.swift b/Bluejay/Bluejay/ListenRestorer.swift index d80cec0..42b5fbe 100644 --- a/Bluejay/Bluejay/ListenRestorer.swift +++ b/Bluejay/Bluejay/ListenRestorer.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit /** * Protocol for handling a listen event that does not have a callback due to background restoration. diff --git a/Bluejay/Bluejay/Scan.swift b/Bluejay/Bluejay/Scan.swift index 38c7d13..83f1517 100644 --- a/Bluejay/Bluejay/Scan.swift +++ b/Bluejay/Bluejay/Scan.swift @@ -8,6 +8,7 @@ import CoreBluetooth import Foundation +import UIKit /// A scan operation. class Scan: Queueable { diff --git a/CHANGELOG.md b/CHANGELOG.md index b26cad2..87465f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Changed +## [0.8.7] - 2020-05-11 +### Added +- Added support for Swift Package Manager + ## [0.8.6] - 2020-02-03 ### Changed - Bumped iOS target to 11 and recommended Xcode to 11.3.1 diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..991ef73 --- /dev/null +++ b/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version:5.1 + +import PackageDescription + +let package = Package( + name: "Bluejay", + platforms: [ + .iOS(.v11), + ], + products: [ + .library( + name: "Bluejay", + targets: ["Bluejay"]), + ], + dependencies: [ + .package(url: "https://github.com/DaveWoodCom/XCGLogger", from: "7.0.0"), + ], + targets: [ + .target( + name: "Bluejay", + dependencies: ["XCGLogger"], + path: "Bluejay/Bluejay"), + ], + swiftLanguageVersions: [.v5] +)