-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Support for Swift Package Manager (#53)
- Loading branch information
1 parent
32dc6b9
commit c3a0f60
Showing
3 changed files
with
44 additions
and
12 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,19 +1,19 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'McuManager' | ||
s.version = '0.11.1' | ||
s.license = { :type => "Apache 2.0", :file => 'LICENSE' } | ||
s.summary = 'A mobile management library for devices running Apache Mynewt or Zephyr' | ||
s.homepage = 'https://github.com/JuulLabs-OSS/mcumgr-ios' | ||
s.authors = { 'Brian Giori' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/JuulLabs-OSS/mcumgr-ios.git', :tag => "#{s.version}" } | ||
s.swift_versions = ['4.2', '5.0', '5.1', '5.2'] | ||
s.name = "McuManager" | ||
s.version = "0.12.0" | ||
s.license = { :type => "Apache 2.0", :file => "LICENSE" } | ||
s.summary = "A mobile management library for devices running Apache Mynewt or Zephyr" | ||
s.homepage = "https://github.com/JuulLabs-OSS/mcumgr-ios" | ||
s.authors = { "Brian Giori" => "[email protected]" } | ||
s.source = { :git => "https://github.com/JuulLabs-OSS/mcumgr-ios.git", :tag => "#{s.version}" } | ||
s.swift_versions = ["4.2", "5.0", "5.1", "5.2"] | ||
|
||
s.ios.deployment_target = '9.0' | ||
s.ios.deployment_target = "9.0" | ||
|
||
s.source_files = 'Source/**/*.{swift, h}' | ||
s.source_files = "Source/**/*.{swift, h}" | ||
s.exclude_files = "Source/*.plist" | ||
|
||
s.requires_arc = true | ||
|
||
s.dependency 'SwiftCBOR', '0.4.3' | ||
s.dependency "SwiftCBOR", "0.4.3" | ||
end |
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,28 @@ | ||
// swift-tools-version:5.3 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "McuManager", | ||
platforms: [.iOS(.v9)], | ||
products: [ | ||
.library( | ||
name: "McuManager", | ||
targets: ["McuManager"] | ||
), | ||
], | ||
dependencies: [ | ||
.package( | ||
url: "https://github.com/unrelentingtech/SwiftCBOR.git", | ||
.branch("master") | ||
), | ||
], | ||
targets: [ | ||
.target( | ||
name: "McuManager", | ||
dependencies: ["SwiftCBOR"], | ||
path: "Source", | ||
exclude:["Info.plist"] | ||
) | ||
] | ||
) |
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