Skip to content

Commit 9e1cd4c

Browse files
committed
add deployment group for package manager configurations
1 parent 83ec351 commit 9e1cd4c

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

KakaJSON.xcodeproj/project.pbxproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
627B5E842320EC760046E23D /* JTM_07_DynamicModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JTM_07_DynamicModel.swift; sourceTree = "<group>"; };
170170
627B5E852320EC760046E23D /* JTM_04_ModelArray.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JTM_04_ModelArray.swift; sourceTree = "<group>"; };
171171
627B5E862320EC760046E23D /* JTM_03_NestedModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JTM_03_NestedModel.swift; sourceTree = "<group>"; };
172+
627B5E972320F08F0046E23D /* KakaJSON.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = KakaJSON.podspec; sourceTree = "<group>"; };
172173
"KakaJSON::KakaJSON::Product" /* KakaJSON.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = KakaJSON.framework; sourceTree = BUILT_PRODUCTS_DIR; };
173174
"KakaJSON::KakaJSONTests::Product" /* KakaJSONTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; path = KakaJSONTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
174175
OBJ_13 /* XCTestManifests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCTestManifests.swift; sourceTree = "<group>"; };
@@ -330,6 +331,15 @@
330331
path = JSON_To_Model;
331332
sourceTree = "<group>";
332333
};
334+
627B5E962320F06E0046E23D /* Deployment */ = {
335+
isa = PBXGroup;
336+
children = (
337+
627B5E972320F08F0046E23D /* KakaJSON.podspec */,
338+
OBJ_6 /* Package.swift */,
339+
);
340+
name = Deployment;
341+
sourceTree = "<group>";
342+
};
333343
OBJ_10 /* Tests */ = {
334344
isa = PBXGroup;
335345
children = (
@@ -359,15 +369,14 @@
359369
name = Products;
360370
sourceTree = BUILT_PRODUCTS_DIR;
361371
};
362-
OBJ_5 /* */ = {
372+
OBJ_5 = {
363373
isa = PBXGroup;
364374
children = (
365-
OBJ_6 /* Package.swift */,
375+
627B5E962320F06E0046E23D /* Deployment */,
366376
OBJ_7 /* Sources */,
367377
OBJ_10 /* Tests */,
368378
OBJ_14 /* Products */,
369379
);
370-
name = "";
371380
sourceTree = "<group>";
372381
};
373382
OBJ_7 /* Sources */ = {
@@ -457,7 +466,7 @@
457466
English,
458467
en,
459468
);
460-
mainGroup = OBJ_5 /* */;
469+
mainGroup = OBJ_5;
461470
productRefGroup = OBJ_14 /* Products */;
462471
projectDirPath = "";
463472
projectRoot = "";

Package.swift

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@ import PackageDescription
55

66
let package = Package(
77
name: "KakaJSON",
8+
platforms: [
9+
.macOS(.v10_10),
10+
.iOS(.v8),
11+
.tvOS(.v9),
12+
.watchOS(.v2)
13+
],
814
products: [
9-
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1015
.library(
1116
name: "KakaJSON",
1217
targets: ["KakaJSON"]),
1318
],
14-
dependencies: [
15-
// Dependencies declare other packages that this package depends on.
16-
// .package(url: /* package url */, from: "1.0.0"),
17-
],
1819
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 which this package depends on.
2120
.target(
2221
name: "KakaJSON",
2322
dependencies: []),

0 commit comments

Comments
 (0)