-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swift Package Manager support (#232)
* Add Package.swift to enable Swift Package Manager support * Add import UIKit where needed * Bump version to 0.8.7 Co-authored-by: Jeremy Chiang <[email protected]>
- Loading branch information
1 parent
78672c0
commit 33aab06
Showing
10 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' => '[email protected]' } | ||
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' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
import CoreBluetooth | ||
import Foundation | ||
import UIKit | ||
|
||
/// A scan operation. | ||
class Scan: Queueable { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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] | ||
) |