Skip to content

Commit 05292f1

Browse files
committed
Add SPM functionality
1 parent 2f58727 commit 05292f1

File tree

8 files changed

+42
-1
lines changed

8 files changed

+42
-1
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BarcodeScanner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
D5B2E8951C3A780C00C0327D = {
9696
isa = PBXGroup;
9797
children = (
98-
D50BE3E31C9FE7A80000A34C /* Images */,
9998
D5C629691C3A809D007F7B7C /* Sources */,
10099
D5C6295C1C3A800E007F7B7C /* BarcodeScanner */,
101100
D5B2E8A01C3A780C00C0327D /* Products */,
@@ -121,6 +120,7 @@
121120
D5C629691C3A809D007F7B7C /* Sources */ = {
122121
isa = PBXGroup;
123122
children = (
123+
D50BE3E31C9FE7A80000A34C /* Images */,
124124
D5CB3785201947D000B9319D /* Helpers */,
125125
D5CB37842019477900B9319D /* DataStructures */,
126126
D55281BD20167D9F00FF3CDD /* Extensions */,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Package.swift

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// swift-tools-version:5.0
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: "BarcodeScanner",
8+
platforms: [.iOS(.v10)],
9+
products: [
10+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
11+
.library(
12+
name: "BarcodeScanner",
13+
targets: ["BarcodeScanner"]),
14+
],
15+
dependencies: [
16+
// Dependencies declare other packages that this package depends on.
17+
// .package(url: /* package url */, from: "1.0.0"),
18+
],
19+
targets: [
20+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
21+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
22+
.target(
23+
name: "BarcodeScanner",
24+
path: "Sources"),
25+
]
26+
)

0 commit comments

Comments
 (0)