Skip to content

Commit 2cd1345

Browse files
committed
Swift Package manager support added
1 parent e0532b7 commit 2cd1345

28 files changed

Lines changed: 71 additions & 194 deletions

Package.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version:5.3
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "SimulatorStatusMagic",
8+
products: [
9+
// Products define the executables and libraries a package produces, and make them visible to other packages.
10+
.library(
11+
name: "SimulatorStatusMagic",
12+
targets: ["SimulatorStatusMagic"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
21+
.target(
22+
name: "SimulatorStatusMagic",
23+
dependencies: []),
24+
.testTarget(
25+
name: "SimulatorStatusMagicTests",
26+
dependencies: ["SimulatorStatusMagic"]),
27+
]
28+
)

SimulatorStatusMagic.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Pod::Spec.new do |s|
1818
s.platform = :ios, '8.0'
1919
s.requires_arc = true
2020

21-
s.source_files = 'SDStatusBarManager'
21+
s.source_files = 'Sources/SDStatusBarManager'
2222
s.frameworks = 'UIKit'
2323
end

SimulatorStatusMagic.xcodeproj/project.pbxproj

Lines changed: 8 additions & 193 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)