Skip to content

Commit bf2e579

Browse files
committed
Adds SwiftPackageManager support to the library
1 parent 9112bfe commit bf2e579

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

NestedCloudKitCodable.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
630DDFD824F5C13300537AD5 /* NestedCloudKitCodableMacOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NestedCloudKitCodableMacOS.entitlements; sourceTree = "<group>"; };
162162
635A0E8B24F562C4002BC7AD /* NestedCloudKitCodableTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NestedCloudKitCodableTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
163163
635A0EF824F56516002BC7AD /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
164+
63658A6525CC31FE0000C747 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
164165
6375386324F5347D0093936D /* NestedCloudKitCodableWatch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NestedCloudKitCodableWatch.app; sourceTree = BUILT_PRODUCTS_DIR; };
165166
6375386624F5347D0093936D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = "<group>"; };
166167
6375386824F5347E0093936D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
@@ -288,6 +289,7 @@
288289
607FACC71AFB9204008FA782 = {
289290
isa = PBXGroup;
290291
children = (
292+
63658A6525CC31FE0000C747 /* Package.swift */,
291293
63A249B324F567E9008C8C56 /* Source */,
292294
63CDFCF524F5477900535338 /* NestedCloudKitCodable_Example.entitlements */,
293295
63CDFCE424F53D3D00535338 /* Shared */,

Package.swift

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import PackageDescription
2+
3+
let package = Package(
4+
name: "NestedCloudKitCodable",
5+
platforms: [
6+
.macOS(.v10_13),
7+
.iOS(.v10),
8+
.tvOS(.v11),
9+
.watchOS(.v3),
10+
],
11+
products: [
12+
.library(name: "NestedCloudKitCodable", targets: ["NestedCKCodable"])
13+
],
14+
targets: [
15+
.target(name: "NestedCKCodable", path: "./Source")
16+
]
17+
)

0 commit comments

Comments
 (0)