yk_command 0.5.7 → 0.5.91
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/sonarlint/issuestore/0/d/0d7a5f844cb7a763c4b02c8788a45a497537e9d4 +0 -0
- data/.idea/sonarlint/issuestore/1/9/19beed89439e4bbf29ca633ebffb0979a334a05d +0 -0
- data/.idea/sonarlint/issuestore/2/2/2264693887a1513e6c4ed16a6231e00d3045ec4e +0 -0
- data/.idea/sonarlint/issuestore/2/4/2461a61a84d866812e64ff95d40bd7836fb136ea +0 -0
- data/.idea/sonarlint/issuestore/2/e/2e113f2d3dc9bee6a98073d85966fbd9773c044f +0 -0
- data/.idea/sonarlint/issuestore/3/4/3423fb39097dbf652818678b749434eb36867bdf +0 -0
- data/.idea/sonarlint/issuestore/4/4/44b7fa1ba50397e71d88bd69389f1ec917165cfb +0 -0
- data/.idea/sonarlint/issuestore/4/6/460ee6442cf29ef54774da00475d1b5a4bd35a75 +0 -0
- data/.idea/sonarlint/issuestore/5/1/512554f10221132e2995f116a1bc380edc569ec4 +0 -0
- data/.idea/sonarlint/issuestore/6/e/6e1b71034e8e2f84d8f8236b269fef92a4a51797 +0 -0
- data/.idea/sonarlint/issuestore/7/1/71fc201a1096db97453882ad1da5120a71f77bb5 +0 -0
- data/.idea/sonarlint/issuestore/7/e/7ed8a0c3d2507e911337de44fdef07f89e35091a +0 -0
- data/.idea/sonarlint/issuestore/9/5/95a45210972238034e9fed522811176fe20117d3 +0 -0
- data/.idea/sonarlint/issuestore/9/7/97c2c9c7adeb7fa2e6ffbf07cba2418868ac9739 +0 -0
- data/.idea/sonarlint/issuestore/9/a/9ac8606ab5816ca6769cd53216a107d7d06ca971 +0 -0
- data/.idea/sonarlint/issuestore/a/6/a67e5ecfa13044750ab8599881f66237821a8b38 +0 -0
- data/.idea/sonarlint/issuestore/a/7/a7f1546c0b6a93fd23b7fc1506b2eb0d13e011c2 +0 -0
- data/.idea/sonarlint/issuestore/a/d/ad7bffefc6248a8f673a10e668a82bdbbe38a3e3 +0 -0
- data/.idea/sonarlint/issuestore/b/a/ba47c112fc95dd748a99abb0290610022df254a7 +0 -0
- data/.idea/sonarlint/issuestore/b/e/be2bfbadd6efe69882507c3a03b1b96c46f3dcbe +0 -0
- data/.idea/sonarlint/issuestore/c/f/cf949c4c054253d95250aa9644f2b805b2aa0d2a +0 -0
- data/.idea/sonarlint/issuestore/d/5/d594a688a538c9bebe38deb974bd46055c65a93c +0 -0
- data/.idea/sonarlint/issuestore/d/e/de3150c01c3a946a6168173c4116741379fe3579 +0 -0
- data/.idea/sonarlint/issuestore/e/5/e5580d669a0c327c5b0897ba7dd8465a3d4db45a +0 -0
- data/.idea/sonarlint/issuestore/e/e/ee825dc90668e04039ee525c5858c5736562c9f5 +0 -0
- data/.idea/sonarlint/issuestore/f/6/f6e109e4c314cef09022792f4b88dd267a682d28 +3 -0
- data/.idea/sonarlint/issuestore/index.pb +53 -0
- data/.idea/yk_command.iml +5 -5
- data/Gemfile.lock +2 -2
- data/lib/yk_command/analyze/request.rb +11 -6
- data/lib/yk_command/commands.rb +32 -1
- data/lib/yk_command/component_manage/component_manage_platform.rb +73 -4
- data/lib/yk_command/gitlab/yk_gitlab.rb +23 -2
- data/lib/yk_command/module/module_handler.rb +1 -4
- data/lib/yk_command/module/yk_module.rb +57 -63
- data/lib/yk_command/project/YKProjectTemplate/NAME.podspec +142 -18
- data/lib/yk_command/project/setup/ConfigureSwift.rb +2 -0
- data/lib/yk_command/project/setup/TemplateConfigurator.rb +8 -4
- data/lib/yk_command/project/simple_project_template/.gitignore +37 -0
- data/lib/yk_command/project/simple_project_template/CODE_OF_CONDUCT.md +40 -0
- data/lib/yk_command/project/simple_project_template/LICENSE +21 -0
- data/lib/yk_command/project/simple_project_template/NAME-osx.podspec +43 -0
- data/lib/yk_command/project/simple_project_template/NAME.podspec +140 -0
- data/lib/yk_command/project/simple_project_template/POD_LICENSE +19 -0
- data/lib/yk_command/project/simple_project_template/POD_README.md +29 -0
- data/lib/yk_command/project/simple_project_template/Pod/Assets/.gitkeep +0 -0
- data/lib/yk_command/project/simple_project_template/Pod/Classes/.gitkeep +0 -0
- data/lib/yk_command/project/simple_project_template/README.md +22 -0
- data/lib/yk_command/project/simple_project_template/configure +13 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +31 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +79 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDAppDelegate.h +15 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDAppDelegate.m +46 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDViewController.h +13 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDViewController.m +37 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +98 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/PROJECT-Info.plist +49 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +16 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +2 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/main.m +17 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +500 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +101 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/Podfile +19 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/Tests-Info.plist +22 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/Tests-Prefix.pch +7 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/Tests.m +9 -0
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +2 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/AppDelegate.swift +26 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +717 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/Info.plist +30 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +10 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/ViewController.swift +27 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +444 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +103 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/Podfile +11 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/Tests/Info.plist +22 -0
- data/lib/yk_command/project/simple_project_template/templates/macos-swift/Example/Tests/Tests.swift +1 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/AppDelegate.swift +46 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +46 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +86 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Info.plist +39 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/ViewController.swift +30 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +468 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +117 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/Podfile +20 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/Tests/Info.plist +24 -0
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/Tests/Tests.swift +1 -0
- data/lib/yk_command/project/yk_project.rb +14 -9
- data/lib/yk_command/version.rb +1 -1
- metadata +82 -2
@@ -0,0 +1,468 @@
|
|
1
|
+
// !$*UTF8*$!
|
2
|
+
{
|
3
|
+
archiveVersion = 1;
|
4
|
+
classes = {
|
5
|
+
};
|
6
|
+
objectVersion = 46;
|
7
|
+
objects = {
|
8
|
+
|
9
|
+
/* Begin PBXBuildFile section */
|
10
|
+
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
|
11
|
+
607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; };
|
12
|
+
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
|
13
|
+
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
|
14
|
+
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
|
15
|
+
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
|
16
|
+
/* End PBXBuildFile section */
|
17
|
+
|
18
|
+
/* Begin PBXContainerItemProxy section */
|
19
|
+
607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = {
|
20
|
+
isa = PBXContainerItemProxy;
|
21
|
+
containerPortal = 607FACC81AFB9204008FA782 /* Project object */;
|
22
|
+
proxyType = 1;
|
23
|
+
remoteGlobalIDString = 607FACCF1AFB9204008FA782;
|
24
|
+
remoteInfo = "PROJECT";
|
25
|
+
};
|
26
|
+
/* End PBXContainerItemProxy section */
|
27
|
+
|
28
|
+
/* Begin PBXFileReference section */
|
29
|
+
607FACD01AFB9204008FA782 /* PROJECT_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PROJECT_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
30
|
+
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
31
|
+
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
32
|
+
607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
|
33
|
+
607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
34
|
+
607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
|
35
|
+
607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
|
36
|
+
607FACE51AFB9204008FA782 /* PROJECT_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PROJECT_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
37
|
+
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
38
|
+
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
|
39
|
+
/* End PBXFileReference section */
|
40
|
+
|
41
|
+
/* Begin PBXFrameworksBuildPhase section */
|
42
|
+
607FACCD1AFB9204008FA782 /* Frameworks */ = {
|
43
|
+
isa = PBXFrameworksBuildPhase;
|
44
|
+
buildActionMask = 2147483647;
|
45
|
+
files = (
|
46
|
+
);
|
47
|
+
runOnlyForDeploymentPostprocessing = 0;
|
48
|
+
};
|
49
|
+
607FACE21AFB9204008FA782 /* Frameworks */ = {
|
50
|
+
isa = PBXFrameworksBuildPhase;
|
51
|
+
buildActionMask = 2147483647;
|
52
|
+
files = (
|
53
|
+
);
|
54
|
+
runOnlyForDeploymentPostprocessing = 0;
|
55
|
+
};
|
56
|
+
/* End PBXFrameworksBuildPhase section */
|
57
|
+
|
58
|
+
/* Begin PBXGroup section */
|
59
|
+
607FACC71AFB9204008FA782 = {
|
60
|
+
isa = PBXGroup;
|
61
|
+
children = (
|
62
|
+
607FACF51AFB993E008FA782 /* Podspec Metadata */,
|
63
|
+
607FACD21AFB9204008FA782 /* Example for PROJECT */,
|
64
|
+
607FACE81AFB9204008FA782 /* Tests */,
|
65
|
+
607FACD11AFB9204008FA782 /* Products */,
|
66
|
+
);
|
67
|
+
sourceTree = "<group>";
|
68
|
+
};
|
69
|
+
607FACD11AFB9204008FA782 /* Products */ = {
|
70
|
+
isa = PBXGroup;
|
71
|
+
children = (
|
72
|
+
607FACD01AFB9204008FA782 /* PROJECT_Example.app */,
|
73
|
+
607FACE51AFB9204008FA782 /* PROJECT_Tests.xctest */,
|
74
|
+
);
|
75
|
+
name = Products;
|
76
|
+
sourceTree = "<group>";
|
77
|
+
};
|
78
|
+
607FACD21AFB9204008FA782 /* Example for PROJECT */ = {
|
79
|
+
isa = PBXGroup;
|
80
|
+
children = (
|
81
|
+
607FACD51AFB9204008FA782 /* AppDelegate.swift */,
|
82
|
+
607FACD71AFB9204008FA782 /* ViewController.swift */,
|
83
|
+
607FACD91AFB9204008FA782 /* Main.storyboard */,
|
84
|
+
607FACDC1AFB9204008FA782 /* Images.xcassets */,
|
85
|
+
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
|
86
|
+
607FACD31AFB9204008FA782 /* Supporting Files */,
|
87
|
+
);
|
88
|
+
name = "Example for PROJECT";
|
89
|
+
path = "PROJECT";
|
90
|
+
sourceTree = "<group>";
|
91
|
+
};
|
92
|
+
607FACD31AFB9204008FA782 /* Supporting Files */ = {
|
93
|
+
isa = PBXGroup;
|
94
|
+
children = (
|
95
|
+
607FACD41AFB9204008FA782 /* Info.plist */,
|
96
|
+
);
|
97
|
+
name = "Supporting Files";
|
98
|
+
sourceTree = "<group>";
|
99
|
+
};
|
100
|
+
607FACE81AFB9204008FA782 /* Tests */ = {
|
101
|
+
isa = PBXGroup;
|
102
|
+
children = (
|
103
|
+
607FACEB1AFB9204008FA782 /* Tests.swift */,
|
104
|
+
607FACE91AFB9204008FA782 /* Supporting Files */,
|
105
|
+
);
|
106
|
+
path = Tests;
|
107
|
+
sourceTree = "<group>";
|
108
|
+
};
|
109
|
+
607FACE91AFB9204008FA782 /* Supporting Files */ = {
|
110
|
+
isa = PBXGroup;
|
111
|
+
children = (
|
112
|
+
607FACEA1AFB9204008FA782 /* Info.plist */,
|
113
|
+
);
|
114
|
+
name = "Supporting Files";
|
115
|
+
sourceTree = "<group>";
|
116
|
+
};
|
117
|
+
607FACF51AFB993E008FA782 /* Podspec Metadata */ = {
|
118
|
+
isa = PBXGroup;
|
119
|
+
children = (
|
120
|
+
);
|
121
|
+
name = "Podspec Metadata";
|
122
|
+
sourceTree = "<group>";
|
123
|
+
};
|
124
|
+
/* End PBXGroup section */
|
125
|
+
|
126
|
+
/* Begin PBXNativeTarget section */
|
127
|
+
607FACCF1AFB9204008FA782 /* PROJECT_Example */ = {
|
128
|
+
isa = PBXNativeTarget;
|
129
|
+
buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "PROJECT_Example" */;
|
130
|
+
buildPhases = (
|
131
|
+
607FACCC1AFB9204008FA782 /* Sources */,
|
132
|
+
607FACCD1AFB9204008FA782 /* Frameworks */,
|
133
|
+
607FACCE1AFB9204008FA782 /* Resources */,
|
134
|
+
);
|
135
|
+
buildRules = (
|
136
|
+
);
|
137
|
+
dependencies = (
|
138
|
+
);
|
139
|
+
name = "PROJECT_Example";
|
140
|
+
productName = "PROJECT";
|
141
|
+
productReference = 607FACD01AFB9204008FA782 /* PROJECT_Example.app */;
|
142
|
+
productType = "com.apple.product-type.application";
|
143
|
+
};
|
144
|
+
607FACE41AFB9204008FA782 /* PROJECT_Tests */ = {
|
145
|
+
isa = PBXNativeTarget;
|
146
|
+
buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "PROJECT_Tests" */;
|
147
|
+
buildPhases = (
|
148
|
+
607FACE11AFB9204008FA782 /* Sources */,
|
149
|
+
607FACE21AFB9204008FA782 /* Frameworks */,
|
150
|
+
607FACE31AFB9204008FA782 /* Resources */,
|
151
|
+
);
|
152
|
+
buildRules = (
|
153
|
+
);
|
154
|
+
dependencies = (
|
155
|
+
607FACE71AFB9204008FA782 /* PBXTargetDependency */,
|
156
|
+
);
|
157
|
+
name = "PROJECT_Tests";
|
158
|
+
productName = Tests;
|
159
|
+
productReference = 607FACE51AFB9204008FA782 /* PROJECT_Tests.xctest */;
|
160
|
+
productType = "com.apple.product-type.bundle.unit-test";
|
161
|
+
};
|
162
|
+
/* End PBXNativeTarget section */
|
163
|
+
|
164
|
+
/* Begin PBXProject section */
|
165
|
+
607FACC81AFB9204008FA782 /* Project object */ = {
|
166
|
+
isa = PBXProject;
|
167
|
+
attributes = {
|
168
|
+
LastSwiftUpdateCheck = 0830;
|
169
|
+
LastUpgradeCheck = 0830;
|
170
|
+
ORGANIZATIONNAME = CocoaPods;
|
171
|
+
TargetAttributes = {
|
172
|
+
607FACCF1AFB9204008FA782 = {
|
173
|
+
CreatedOnToolsVersion = 6.3.1;
|
174
|
+
LastSwiftMigration = 0900;
|
175
|
+
};
|
176
|
+
607FACE41AFB9204008FA782 = {
|
177
|
+
CreatedOnToolsVersion = 6.3.1;
|
178
|
+
LastSwiftMigration = 0900;
|
179
|
+
TestTargetID = 607FACCF1AFB9204008FA782;
|
180
|
+
};
|
181
|
+
};
|
182
|
+
};
|
183
|
+
buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "PROJECT" */;
|
184
|
+
compatibilityVersion = "Xcode 3.2";
|
185
|
+
developmentRegion = English;
|
186
|
+
hasScannedForEncodings = 0;
|
187
|
+
knownRegions = (
|
188
|
+
en,
|
189
|
+
Base,
|
190
|
+
);
|
191
|
+
mainGroup = 607FACC71AFB9204008FA782;
|
192
|
+
productRefGroup = 607FACD11AFB9204008FA782 /* Products */;
|
193
|
+
projectDirPath = "";
|
194
|
+
projectRoot = "";
|
195
|
+
targets = (
|
196
|
+
607FACCF1AFB9204008FA782 /* PROJECT_Example */,
|
197
|
+
607FACE41AFB9204008FA782 /* PROJECT_Tests */,
|
198
|
+
);
|
199
|
+
};
|
200
|
+
/* End PBXProject section */
|
201
|
+
|
202
|
+
/* Begin PBXResourcesBuildPhase section */
|
203
|
+
607FACCE1AFB9204008FA782 /* Resources */ = {
|
204
|
+
isa = PBXResourcesBuildPhase;
|
205
|
+
buildActionMask = 2147483647;
|
206
|
+
files = (
|
207
|
+
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,
|
208
|
+
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,
|
209
|
+
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */,
|
210
|
+
);
|
211
|
+
runOnlyForDeploymentPostprocessing = 0;
|
212
|
+
};
|
213
|
+
607FACE31AFB9204008FA782 /* Resources */ = {
|
214
|
+
isa = PBXResourcesBuildPhase;
|
215
|
+
buildActionMask = 2147483647;
|
216
|
+
files = (
|
217
|
+
);
|
218
|
+
runOnlyForDeploymentPostprocessing = 0;
|
219
|
+
};
|
220
|
+
/* End PBXResourcesBuildPhase section */
|
221
|
+
|
222
|
+
/* Begin PBXSourcesBuildPhase section */
|
223
|
+
607FACCC1AFB9204008FA782 /* Sources */ = {
|
224
|
+
isa = PBXSourcesBuildPhase;
|
225
|
+
buildActionMask = 2147483647;
|
226
|
+
files = (
|
227
|
+
607FACD81AFB9204008FA782 /* ViewController.swift in Sources */,
|
228
|
+
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
|
229
|
+
);
|
230
|
+
runOnlyForDeploymentPostprocessing = 0;
|
231
|
+
};
|
232
|
+
607FACE11AFB9204008FA782 /* Sources */ = {
|
233
|
+
isa = PBXSourcesBuildPhase;
|
234
|
+
buildActionMask = 2147483647;
|
235
|
+
files = (
|
236
|
+
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */,
|
237
|
+
);
|
238
|
+
runOnlyForDeploymentPostprocessing = 0;
|
239
|
+
};
|
240
|
+
/* End PBXSourcesBuildPhase section */
|
241
|
+
|
242
|
+
/* Begin PBXTargetDependency section */
|
243
|
+
607FACE71AFB9204008FA782 /* PBXTargetDependency */ = {
|
244
|
+
isa = PBXTargetDependency;
|
245
|
+
target = 607FACCF1AFB9204008FA782 /* PROJECT_Example */;
|
246
|
+
targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */;
|
247
|
+
};
|
248
|
+
/* End PBXTargetDependency section */
|
249
|
+
|
250
|
+
/* Begin PBXVariantGroup section */
|
251
|
+
607FACD91AFB9204008FA782 /* Main.storyboard */ = {
|
252
|
+
isa = PBXVariantGroup;
|
253
|
+
children = (
|
254
|
+
607FACDA1AFB9204008FA782 /* Base */,
|
255
|
+
);
|
256
|
+
name = Main.storyboard;
|
257
|
+
sourceTree = "<group>";
|
258
|
+
};
|
259
|
+
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = {
|
260
|
+
isa = PBXVariantGroup;
|
261
|
+
children = (
|
262
|
+
607FACDF1AFB9204008FA782 /* Base */,
|
263
|
+
);
|
264
|
+
name = LaunchScreen.xib;
|
265
|
+
sourceTree = "<group>";
|
266
|
+
};
|
267
|
+
/* End PBXVariantGroup section */
|
268
|
+
|
269
|
+
/* Begin XCBuildConfiguration section */
|
270
|
+
607FACED1AFB9204008FA782 /* Debug */ = {
|
271
|
+
isa = XCBuildConfiguration;
|
272
|
+
buildSettings = {
|
273
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
274
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
275
|
+
CLANG_CXX_LIBRARY = "libc++";
|
276
|
+
CLANG_ENABLE_MODULES = YES;
|
277
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
278
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
279
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
280
|
+
CLANG_WARN_COMMA = YES;
|
281
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
282
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
283
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
284
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
285
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
286
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
287
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
288
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
289
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
290
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
291
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
292
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
293
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
294
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
295
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
296
|
+
COPY_PHASE_STRIP = NO;
|
297
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
298
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
299
|
+
ENABLE_TESTABILITY = YES;
|
300
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
301
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
302
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
303
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
304
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
305
|
+
"DEBUG=1",
|
306
|
+
"$(inherited)",
|
307
|
+
);
|
308
|
+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
309
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
310
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
311
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
312
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
313
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
314
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
315
|
+
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
|
316
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
317
|
+
ONLY_ACTIVE_ARCH = YES;
|
318
|
+
SDKROOT = iphoneos;
|
319
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
320
|
+
};
|
321
|
+
name = Debug;
|
322
|
+
};
|
323
|
+
607FACEE1AFB9204008FA782 /* Release */ = {
|
324
|
+
isa = XCBuildConfiguration;
|
325
|
+
buildSettings = {
|
326
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
327
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
328
|
+
CLANG_CXX_LIBRARY = "libc++";
|
329
|
+
CLANG_ENABLE_MODULES = YES;
|
330
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
331
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
332
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
333
|
+
CLANG_WARN_COMMA = YES;
|
334
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
335
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
336
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
337
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
338
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
339
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
340
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
341
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
342
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
343
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
344
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
345
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
346
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
347
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
348
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
349
|
+
COPY_PHASE_STRIP = NO;
|
350
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
351
|
+
ENABLE_NS_ASSERTIONS = NO;
|
352
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
353
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
354
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
355
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
356
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
357
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
358
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
359
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
360
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
361
|
+
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
|
362
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
363
|
+
SDKROOT = iphoneos;
|
364
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
365
|
+
VALIDATE_PRODUCT = YES;
|
366
|
+
};
|
367
|
+
name = Release;
|
368
|
+
};
|
369
|
+
607FACF01AFB9204008FA782 /* Debug */ = {
|
370
|
+
isa = XCBuildConfiguration;
|
371
|
+
buildSettings = {
|
372
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
373
|
+
INFOPLIST_FILE = "PROJECT/Info.plist";
|
374
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
375
|
+
MODULE_NAME = ExampleApp;
|
376
|
+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
|
377
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
378
|
+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
379
|
+
SWIFT_VERSION = 4.0;
|
380
|
+
};
|
381
|
+
name = Debug;
|
382
|
+
};
|
383
|
+
607FACF11AFB9204008FA782 /* Release */ = {
|
384
|
+
isa = XCBuildConfiguration;
|
385
|
+
buildSettings = {
|
386
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
387
|
+
INFOPLIST_FILE = "PROJECT/Info.plist";
|
388
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
389
|
+
MODULE_NAME = ExampleApp;
|
390
|
+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
|
391
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
392
|
+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
393
|
+
SWIFT_VERSION = 4.0;
|
394
|
+
};
|
395
|
+
name = Release;
|
396
|
+
};
|
397
|
+
607FACF31AFB9204008FA782 /* Debug */ = {
|
398
|
+
isa = XCBuildConfiguration;
|
399
|
+
buildSettings = {
|
400
|
+
FRAMEWORK_SEARCH_PATHS = (
|
401
|
+
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
|
402
|
+
"$(inherited)",
|
403
|
+
);
|
404
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
405
|
+
"DEBUG=1",
|
406
|
+
"$(inherited)",
|
407
|
+
);
|
408
|
+
INFOPLIST_FILE = Tests/Info.plist;
|
409
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
410
|
+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
|
411
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
412
|
+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
413
|
+
SWIFT_VERSION = 4.0;
|
414
|
+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PROJECT_Example.app/PROJECT_Example";
|
415
|
+
};
|
416
|
+
name = Debug;
|
417
|
+
};
|
418
|
+
607FACF41AFB9204008FA782 /* Release */ = {
|
419
|
+
isa = XCBuildConfiguration;
|
420
|
+
buildSettings = {
|
421
|
+
FRAMEWORK_SEARCH_PATHS = (
|
422
|
+
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
|
423
|
+
"$(inherited)",
|
424
|
+
);
|
425
|
+
INFOPLIST_FILE = Tests/Info.plist;
|
426
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
427
|
+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
|
428
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
429
|
+
SWIFT_VERSION = 4.0;
|
430
|
+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
431
|
+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PROJECT_Example.app/PROJECT_Example";
|
432
|
+
};
|
433
|
+
name = Release;
|
434
|
+
};
|
435
|
+
/* End XCBuildConfiguration section */
|
436
|
+
|
437
|
+
/* Begin XCConfigurationList section */
|
438
|
+
607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "PROJECT" */ = {
|
439
|
+
isa = XCConfigurationList;
|
440
|
+
buildConfigurations = (
|
441
|
+
607FACED1AFB9204008FA782 /* Debug */,
|
442
|
+
607FACEE1AFB9204008FA782 /* Release */,
|
443
|
+
);
|
444
|
+
defaultConfigurationIsVisible = 0;
|
445
|
+
defaultConfigurationName = Release;
|
446
|
+
};
|
447
|
+
607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "PROJECT_Example" */ = {
|
448
|
+
isa = XCConfigurationList;
|
449
|
+
buildConfigurations = (
|
450
|
+
607FACF01AFB9204008FA782 /* Debug */,
|
451
|
+
607FACF11AFB9204008FA782 /* Release */,
|
452
|
+
);
|
453
|
+
defaultConfigurationIsVisible = 0;
|
454
|
+
defaultConfigurationName = Release;
|
455
|
+
};
|
456
|
+
607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "PROJECT_Tests" */ = {
|
457
|
+
isa = XCConfigurationList;
|
458
|
+
buildConfigurations = (
|
459
|
+
607FACF31AFB9204008FA782 /* Debug */,
|
460
|
+
607FACF41AFB9204008FA782 /* Release */,
|
461
|
+
);
|
462
|
+
defaultConfigurationIsVisible = 0;
|
463
|
+
defaultConfigurationName = Release;
|
464
|
+
};
|
465
|
+
/* End XCConfigurationList section */
|
466
|
+
};
|
467
|
+
rootObject = 607FACC81AFB9204008FA782 /* Project object */;
|
468
|
+
}
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Scheme
|
3
|
+
LastUpgradeVersion = "0900"
|
4
|
+
version = "1.3">
|
5
|
+
<BuildAction
|
6
|
+
parallelizeBuildables = "YES"
|
7
|
+
buildImplicitDependencies = "YES">
|
8
|
+
<BuildActionEntries>
|
9
|
+
<BuildActionEntry
|
10
|
+
buildForTesting = "YES"
|
11
|
+
buildForRunning = "YES"
|
12
|
+
buildForProfiling = "YES"
|
13
|
+
buildForArchiving = "YES"
|
14
|
+
buildForAnalyzing = "YES">
|
15
|
+
<BuildableReference
|
16
|
+
BuildableIdentifier = "primary"
|
17
|
+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
|
18
|
+
BuildableName = "PROJECT_Example.app"
|
19
|
+
BlueprintName = "PROJECT_Example"
|
20
|
+
ReferencedContainer = "container:PROJECT.xcodeproj">
|
21
|
+
</BuildableReference>
|
22
|
+
</BuildActionEntry>
|
23
|
+
<BuildActionEntry
|
24
|
+
buildForTesting = "YES"
|
25
|
+
buildForRunning = "YES"
|
26
|
+
buildForProfiling = "NO"
|
27
|
+
buildForArchiving = "NO"
|
28
|
+
buildForAnalyzing = "YES">
|
29
|
+
<BuildableReference
|
30
|
+
BuildableIdentifier = "primary"
|
31
|
+
BlueprintIdentifier = "607FACE41AFB9204008FA782"
|
32
|
+
BuildableName = "PROJECT_Tests.xctest"
|
33
|
+
BlueprintName = "PROJECT_Tests"
|
34
|
+
ReferencedContainer = "container:PROJECT.xcodeproj">
|
35
|
+
</BuildableReference>
|
36
|
+
</BuildActionEntry>
|
37
|
+
</BuildActionEntries>
|
38
|
+
</BuildAction>
|
39
|
+
<TestAction
|
40
|
+
buildConfiguration = "Debug"
|
41
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
42
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
43
|
+
language = ""
|
44
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
45
|
+
<Testables>
|
46
|
+
<TestableReference
|
47
|
+
skipped = "NO">
|
48
|
+
<BuildableReference
|
49
|
+
BuildableIdentifier = "primary"
|
50
|
+
BlueprintIdentifier = "607FACE41AFB9204008FA782"
|
51
|
+
BuildableName = "PROJECT_Tests.xctest"
|
52
|
+
BlueprintName = "PROJECT_Tests"
|
53
|
+
ReferencedContainer = "container:PROJECT.xcodeproj">
|
54
|
+
</BuildableReference>
|
55
|
+
</TestableReference>
|
56
|
+
</Testables>
|
57
|
+
<MacroExpansion>
|
58
|
+
<BuildableReference
|
59
|
+
BuildableIdentifier = "primary"
|
60
|
+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
|
61
|
+
BuildableName = "PROJECT_Example.app"
|
62
|
+
BlueprintName = "PROJECT_Example"
|
63
|
+
ReferencedContainer = "container:PROJECT.xcodeproj">
|
64
|
+
</BuildableReference>
|
65
|
+
</MacroExpansion>
|
66
|
+
<AdditionalOptions>
|
67
|
+
</AdditionalOptions>
|
68
|
+
</TestAction>
|
69
|
+
<LaunchAction
|
70
|
+
buildConfiguration = "Debug"
|
71
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
72
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
73
|
+
language = ""
|
74
|
+
launchStyle = "0"
|
75
|
+
useCustomWorkingDirectory = "NO"
|
76
|
+
ignoresPersistentStateOnLaunch = "NO"
|
77
|
+
debugDocumentVersioning = "YES"
|
78
|
+
debugServiceExtension = "internal"
|
79
|
+
allowLocationSimulation = "YES">
|
80
|
+
<BuildableProductRunnable
|
81
|
+
runnableDebuggingMode = "0">
|
82
|
+
<BuildableReference
|
83
|
+
BuildableIdentifier = "primary"
|
84
|
+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
|
85
|
+
BuildableName = "PROJECT_Example.app"
|
86
|
+
BlueprintName = "PROJECT_Example"
|
87
|
+
ReferencedContainer = "container:PROJECT.xcodeproj">
|
88
|
+
</BuildableReference>
|
89
|
+
</BuildableProductRunnable>
|
90
|
+
<AdditionalOptions>
|
91
|
+
</AdditionalOptions>
|
92
|
+
</LaunchAction>
|
93
|
+
<ProfileAction
|
94
|
+
buildConfiguration = "Release"
|
95
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
96
|
+
savedToolIdentifier = ""
|
97
|
+
useCustomWorkingDirectory = "NO"
|
98
|
+
debugDocumentVersioning = "YES">
|
99
|
+
<BuildableProductRunnable
|
100
|
+
runnableDebuggingMode = "0">
|
101
|
+
<BuildableReference
|
102
|
+
BuildableIdentifier = "primary"
|
103
|
+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
|
104
|
+
BuildableName = "PROJECT_Example.app"
|
105
|
+
BlueprintName = "PROJECT_Example"
|
106
|
+
ReferencedContainer = "container:PROJECT.xcodeproj">
|
107
|
+
</BuildableReference>
|
108
|
+
</BuildableProductRunnable>
|
109
|
+
</ProfileAction>
|
110
|
+
<AnalyzeAction
|
111
|
+
buildConfiguration = "Debug">
|
112
|
+
</AnalyzeAction>
|
113
|
+
<ArchiveAction
|
114
|
+
buildConfiguration = "Release"
|
115
|
+
revealArchiveInOrganizer = "YES">
|
116
|
+
</ArchiveAction>
|
117
|
+
</Scheme>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
platform :ios, '10.0'
|
4
|
+
|
5
|
+
inhibit_all_warnings!
|
6
|
+
use_modular_headers!
|
7
|
+
use_frameworks! :linkage => :static
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
target '${POD_NAME}_Example' do
|
13
|
+
pod '${POD_NAME}', :path => '../'
|
14
|
+
|
15
|
+
target '${POD_NAME}_Tests' do
|
16
|
+
inherit! :search_paths
|
17
|
+
|
18
|
+
${INCLUDED_PODS}
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,24 @@
|
|
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>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>en</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundleName</key>
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
15
|
+
<key>CFBundlePackageType</key>
|
16
|
+
<string>BNDL</string>
|
17
|
+
<key>CFBundleShortVersionString</key>
|
18
|
+
<string>1.0</string>
|
19
|
+
<key>CFBundleSignature</key>
|
20
|
+
<string>????</string>
|
21
|
+
<key>CFBundleVersion</key>
|
22
|
+
<string>1</string>
|
23
|
+
</dict>
|
24
|
+
</plist>
|
@@ -0,0 +1 @@
|
|
1
|
+
// ${TEST_EXAMPLE}
|
@@ -13,25 +13,30 @@ module YkCommand
|
|
13
13
|
class YkProject < Thor
|
14
14
|
include Thor::Actions
|
15
15
|
|
16
|
-
def initialize(args = [], options = {}, config = {})
|
17
|
-
super
|
18
16
|
|
19
|
-
end
|
20
17
|
|
21
18
|
no_commands do
|
22
19
|
|
20
|
+
def initialize(is_simple)
|
21
|
+
@is_simple = is_simple
|
22
|
+
|
23
|
+
end
|
24
|
+
|
23
25
|
def prepare_project(pod_name, framework, prefix, author, at_path)
|
24
26
|
|
25
27
|
des_path = Pathname.new(at_path)
|
26
28
|
current_class_path = Pathname.new(File.dirname(File.expand_path __FILE__))
|
27
29
|
|
28
30
|
FileUtils.remove_dir("#{current_class_path.to_s + '/temp'}", true)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
temp_foler = 'YKProjectTemplate'
|
32
|
+
if @is_simple == true
|
33
|
+
temp_foler = 'simple_project_template'
|
34
|
+
end
|
35
|
+
FileUtils.copy_entry "#{current_class_path.to_s + "/#{temp_foler}"}", "#{current_class_path.to_s + '/temp'}"
|
36
|
+
if @is_simple != true
|
37
|
+
prepare_template(YkConfig.new(at_path).read_config PROJECT_CONFIG_FILE)
|
38
|
+
end
|
39
|
+
Pod::TemplateConfigurator.new(pod_name, framework, prefix, author, "#{current_class_path.to_s + '/temp'}",@is_simple).run
|
35
40
|
#move temp folder to destination
|
36
41
|
FileUtils.copy_entry "#{current_class_path.to_s + '/temp'}", "#{des_path.to_s + "/#{pod_name}"}"
|
37
42
|
#删除临时目录
|
data/lib/yk_command/version.rb
CHANGED