cocoapods-pack 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rubocop.yml +43 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +149 -0
- data/LICENSE +202 -0
- data/README.md +116 -0
- data/Rakefile +8 -0
- data/cocoapods-pack.gemspec +34 -0
- data/endToEndPackMySample.sh +13 -0
- data/lib/cocoapods-pack/command/pack.rb +497 -0
- data/lib/cocoapods-pack/command.rb +19 -0
- data/lib/cocoapods-pack/env_parser.rb +23 -0
- data/lib/cocoapods-pack/find_follow.rb +106 -0
- data/lib/cocoapods-pack/gem_version.rb +21 -0
- data/lib/cocoapods-pack/spec_generator.rb +154 -0
- data/lib/cocoapods-pack/xcode_builder.rb +193 -0
- data/lib/cocoapods-pack/zip_file_generator.rb +56 -0
- data/lib/cocoapods_pack.rb +19 -0
- data/lib/cocoapods_plugin.rb +19 -0
- data/local_pod.rb +7 -0
- data/packMySample.sh +8 -0
- data/samples/CLIConsumer/CLIConsumer/dummy.swift +1 -0
- data/samples/CLIConsumer/CLIConsumer/main.m +10 -0
- data/samples/CLIConsumer/CLIConsumer.xcodeproj/project.pbxproj +329 -0
- data/samples/CLIConsumer/CLIConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/samples/CLIConsumer/CLIConsumer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/samples/CLIConsumer/CLIConsumer.xcodeproj/xcshareddata/xcschemes/CLIConsumer.xcscheme +88 -0
- data/samples/CLIConsumer/CLIConsumer.xcworkspace/contents.xcworkspacedata +10 -0
- data/samples/CLIConsumer/CLIConsumer.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/samples/CLIConsumer/Podfile +9 -0
- data/samples/CLIConsumer/build.sh +13 -0
- data/samples/MySample/MIT +1 -0
- data/samples/MySample/MySample/Internal/MySample_Internal.h +1 -0
- data/samples/MySample/MySample/MyObjCInSwiftSample.swift +7 -0
- data/samples/MySample/MySample/MySample.h +7 -0
- data/samples/MySample/MySample/MySample.m +10 -0
- data/samples/MySample/MySample/MySwiftSample.swift +7 -0
- data/samples/MySample/MySample.podspec +45 -0
- data/samples/MySample/MySample.xcodeproj/project.pbxproj +379 -0
- data/samples/MySample/MySample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/samples/MySample/MySampleTests/Info.plist +24 -0
- data/samples/MySample/python/a.py +1 -0
- data/samples/MySample/python/subpython/b.py +1 -0
- data/samples/MySample/resources/a.png +1 -0
- data/samples/MySample/resources/lets/go/nuts/b.png +1 -0
- data/samples/MySample/resources/lets/go/runit.png +0 -0
- data/spec/acceptance_spec.rb +22 -0
- data/spec/env_parser_spec.rb +18 -0
- data/spec/spec_generator_spec.rb +247 -0
- data/spec/spec_helper.rb +47 -0
- data/spec/xcode_builder_spec.rb +113 -0
- metadata +207 -0
@@ -0,0 +1,329 @@
|
|
1
|
+
// !$*UTF8*$!
|
2
|
+
{
|
3
|
+
archiveVersion = 1;
|
4
|
+
classes = {
|
5
|
+
};
|
6
|
+
objectVersion = 46;
|
7
|
+
objects = {
|
8
|
+
|
9
|
+
/* Begin PBXBuildFile section */
|
10
|
+
291F51BD1B99473000C165C6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 291F51BC1B99473000C165C6 /* main.m */; };
|
11
|
+
98D5AC434BDFB8DC349A03E8 /* libPods-CLIConsumer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0A0B26ABCDC5373425E080A5 /* libPods-CLIConsumer.a */; };
|
12
|
+
B7F77F712730B512006BDDEE /* dummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7F77F702730B512006BDDEE /* dummy.swift */; };
|
13
|
+
/* End PBXBuildFile section */
|
14
|
+
|
15
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
16
|
+
291F51B71B99473000C165C6 /* CopyFiles */ = {
|
17
|
+
isa = PBXCopyFilesBuildPhase;
|
18
|
+
buildActionMask = 2147483647;
|
19
|
+
dstPath = /usr/share/man/man1/;
|
20
|
+
dstSubfolderSpec = 0;
|
21
|
+
files = (
|
22
|
+
);
|
23
|
+
runOnlyForDeploymentPostprocessing = 1;
|
24
|
+
};
|
25
|
+
/* End PBXCopyFilesBuildPhase section */
|
26
|
+
|
27
|
+
/* Begin PBXFileReference section */
|
28
|
+
0A0B26ABCDC5373425E080A5 /* libPods-CLIConsumer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CLIConsumer.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
29
|
+
291F51B91B99473000C165C6 /* CLIConsumer */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = CLIConsumer; sourceTree = BUILT_PRODUCTS_DIR; };
|
30
|
+
291F51BC1B99473000C165C6 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
31
|
+
5949E711176CA7D55DB1F878 /* Pods-CLIConsumer.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CLIConsumer.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CLIConsumer/Pods-CLIConsumer.debug.xcconfig"; sourceTree = "<group>"; };
|
32
|
+
B7F77F702730B512006BDDEE /* dummy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dummy.swift; sourceTree = "<group>"; };
|
33
|
+
DE58C87647762F5632373BB7 /* Pods-CLIConsumer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CLIConsumer.release.xcconfig"; path = "Pods/Target Support Files/Pods-CLIConsumer/Pods-CLIConsumer.release.xcconfig"; sourceTree = "<group>"; };
|
34
|
+
/* End PBXFileReference section */
|
35
|
+
|
36
|
+
/* Begin PBXFrameworksBuildPhase section */
|
37
|
+
291F51B61B99473000C165C6 /* Frameworks */ = {
|
38
|
+
isa = PBXFrameworksBuildPhase;
|
39
|
+
buildActionMask = 2147483647;
|
40
|
+
files = (
|
41
|
+
98D5AC434BDFB8DC349A03E8 /* libPods-CLIConsumer.a in Frameworks */,
|
42
|
+
);
|
43
|
+
runOnlyForDeploymentPostprocessing = 0;
|
44
|
+
};
|
45
|
+
/* End PBXFrameworksBuildPhase section */
|
46
|
+
|
47
|
+
/* Begin PBXGroup section */
|
48
|
+
291F51B01B99473000C165C6 = {
|
49
|
+
isa = PBXGroup;
|
50
|
+
children = (
|
51
|
+
291F51BB1B99473000C165C6 /* CLIConsumer */,
|
52
|
+
291F51BA1B99473000C165C6 /* Products */,
|
53
|
+
B1132EA3772BF84A49C06527 /* Pods */,
|
54
|
+
3EABA70547980806DD80EEF7 /* Frameworks */,
|
55
|
+
);
|
56
|
+
sourceTree = "<group>";
|
57
|
+
};
|
58
|
+
291F51BA1B99473000C165C6 /* Products */ = {
|
59
|
+
isa = PBXGroup;
|
60
|
+
children = (
|
61
|
+
291F51B91B99473000C165C6 /* CLIConsumer */,
|
62
|
+
);
|
63
|
+
name = Products;
|
64
|
+
sourceTree = "<group>";
|
65
|
+
};
|
66
|
+
291F51BB1B99473000C165C6 /* CLIConsumer */ = {
|
67
|
+
isa = PBXGroup;
|
68
|
+
children = (
|
69
|
+
291F51BC1B99473000C165C6 /* main.m */,
|
70
|
+
B7F77F702730B512006BDDEE /* dummy.swift */,
|
71
|
+
);
|
72
|
+
path = CLIConsumer;
|
73
|
+
sourceTree = "<group>";
|
74
|
+
};
|
75
|
+
3EABA70547980806DD80EEF7 /* Frameworks */ = {
|
76
|
+
isa = PBXGroup;
|
77
|
+
children = (
|
78
|
+
0A0B26ABCDC5373425E080A5 /* libPods-CLIConsumer.a */,
|
79
|
+
);
|
80
|
+
name = Frameworks;
|
81
|
+
sourceTree = "<group>";
|
82
|
+
};
|
83
|
+
B1132EA3772BF84A49C06527 /* Pods */ = {
|
84
|
+
isa = PBXGroup;
|
85
|
+
children = (
|
86
|
+
5949E711176CA7D55DB1F878 /* Pods-CLIConsumer.debug.xcconfig */,
|
87
|
+
DE58C87647762F5632373BB7 /* Pods-CLIConsumer.release.xcconfig */,
|
88
|
+
);
|
89
|
+
name = Pods;
|
90
|
+
sourceTree = "<group>";
|
91
|
+
};
|
92
|
+
/* End PBXGroup section */
|
93
|
+
|
94
|
+
/* Begin PBXNativeTarget section */
|
95
|
+
291F51B81B99473000C165C6 /* CLIConsumer */ = {
|
96
|
+
isa = PBXNativeTarget;
|
97
|
+
buildConfigurationList = 291F51C01B99473000C165C6 /* Build configuration list for PBXNativeTarget "CLIConsumer" */;
|
98
|
+
buildPhases = (
|
99
|
+
BBFE089FE74E2624933DD932 /* [CP] Check Pods Manifest.lock */,
|
100
|
+
291F51B51B99473000C165C6 /* Sources */,
|
101
|
+
291F51B61B99473000C165C6 /* Frameworks */,
|
102
|
+
291F51B71B99473000C165C6 /* CopyFiles */,
|
103
|
+
AA1E501E9D675640906F463B /* [CP] Copy Pods Resources */,
|
104
|
+
);
|
105
|
+
buildRules = (
|
106
|
+
);
|
107
|
+
dependencies = (
|
108
|
+
);
|
109
|
+
name = CLIConsumer;
|
110
|
+
productName = CLIConsumer;
|
111
|
+
productReference = 291F51B91B99473000C165C6 /* CLIConsumer */;
|
112
|
+
productType = "com.apple.product-type.tool";
|
113
|
+
};
|
114
|
+
/* End PBXNativeTarget section */
|
115
|
+
|
116
|
+
/* Begin PBXProject section */
|
117
|
+
291F51B11B99473000C165C6 /* Project object */ = {
|
118
|
+
isa = PBXProject;
|
119
|
+
attributes = {
|
120
|
+
LastUpgradeCheck = 0640;
|
121
|
+
ORGANIZATIONNAME = Example;
|
122
|
+
TargetAttributes = {
|
123
|
+
291F51B81B99473000C165C6 = {
|
124
|
+
CreatedOnToolsVersion = 6.4;
|
125
|
+
LastSwiftMigration = 1250;
|
126
|
+
};
|
127
|
+
};
|
128
|
+
};
|
129
|
+
buildConfigurationList = 291F51B41B99473000C165C6 /* Build configuration list for PBXProject "CLIConsumer" */;
|
130
|
+
compatibilityVersion = "Xcode 3.2";
|
131
|
+
developmentRegion = English;
|
132
|
+
hasScannedForEncodings = 0;
|
133
|
+
knownRegions = (
|
134
|
+
English,
|
135
|
+
en,
|
136
|
+
);
|
137
|
+
mainGroup = 291F51B01B99473000C165C6;
|
138
|
+
productRefGroup = 291F51BA1B99473000C165C6 /* Products */;
|
139
|
+
projectDirPath = "";
|
140
|
+
projectRoot = "";
|
141
|
+
targets = (
|
142
|
+
291F51B81B99473000C165C6 /* CLIConsumer */,
|
143
|
+
);
|
144
|
+
};
|
145
|
+
/* End PBXProject section */
|
146
|
+
|
147
|
+
/* Begin PBXShellScriptBuildPhase section */
|
148
|
+
AA1E501E9D675640906F463B /* [CP] Copy Pods Resources */ = {
|
149
|
+
isa = PBXShellScriptBuildPhase;
|
150
|
+
buildActionMask = 2147483647;
|
151
|
+
files = (
|
152
|
+
);
|
153
|
+
inputPaths = (
|
154
|
+
"${PODS_ROOT}/Target Support Files/Pods-CLIConsumer/Pods-CLIConsumer-resources.sh",
|
155
|
+
"${PODS_ROOT}/../../../out/files/MySample/0.0.1/staged/resources/a.png",
|
156
|
+
"${PODS_ROOT}/../../../out/files/MySample/0.0.1/staged/resources/lets/go/nuts/b.png",
|
157
|
+
"${PODS_ROOT}/../../../out/files/MySample/0.0.1/staged/resources/lets/go/runit.png",
|
158
|
+
);
|
159
|
+
name = "[CP] Copy Pods Resources";
|
160
|
+
outputPaths = (
|
161
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/a.png",
|
162
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/b.png",
|
163
|
+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/runit.png",
|
164
|
+
);
|
165
|
+
runOnlyForDeploymentPostprocessing = 0;
|
166
|
+
shellPath = /bin/sh;
|
167
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CLIConsumer/Pods-CLIConsumer-resources.sh\"\n";
|
168
|
+
showEnvVarsInLog = 0;
|
169
|
+
};
|
170
|
+
BBFE089FE74E2624933DD932 /* [CP] Check Pods Manifest.lock */ = {
|
171
|
+
isa = PBXShellScriptBuildPhase;
|
172
|
+
buildActionMask = 2147483647;
|
173
|
+
files = (
|
174
|
+
);
|
175
|
+
inputPaths = (
|
176
|
+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
177
|
+
"${PODS_ROOT}/Manifest.lock",
|
178
|
+
);
|
179
|
+
name = "[CP] Check Pods Manifest.lock";
|
180
|
+
outputPaths = (
|
181
|
+
"$(DERIVED_FILE_DIR)/Pods-CLIConsumer-checkManifestLockResult.txt",
|
182
|
+
);
|
183
|
+
runOnlyForDeploymentPostprocessing = 0;
|
184
|
+
shellPath = /bin/sh;
|
185
|
+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
186
|
+
showEnvVarsInLog = 0;
|
187
|
+
};
|
188
|
+
/* End PBXShellScriptBuildPhase section */
|
189
|
+
|
190
|
+
/* Begin PBXSourcesBuildPhase section */
|
191
|
+
291F51B51B99473000C165C6 /* Sources */ = {
|
192
|
+
isa = PBXSourcesBuildPhase;
|
193
|
+
buildActionMask = 2147483647;
|
194
|
+
files = (
|
195
|
+
B7F77F712730B512006BDDEE /* dummy.swift in Sources */,
|
196
|
+
291F51BD1B99473000C165C6 /* main.m in Sources */,
|
197
|
+
);
|
198
|
+
runOnlyForDeploymentPostprocessing = 0;
|
199
|
+
};
|
200
|
+
/* End PBXSourcesBuildPhase section */
|
201
|
+
|
202
|
+
/* Begin XCBuildConfiguration section */
|
203
|
+
291F51BE1B99473000C165C6 /* Debug */ = {
|
204
|
+
isa = XCBuildConfiguration;
|
205
|
+
buildSettings = {
|
206
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
207
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
208
|
+
CLANG_CXX_LIBRARY = "libc++";
|
209
|
+
CLANG_ENABLE_MODULES = YES;
|
210
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
211
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
212
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
213
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
214
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
215
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
216
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
217
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
218
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
219
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
220
|
+
COPY_PHASE_STRIP = NO;
|
221
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
222
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
223
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
224
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
225
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
226
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
227
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
228
|
+
"DEBUG=1",
|
229
|
+
"$(inherited)",
|
230
|
+
);
|
231
|
+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
232
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
233
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
234
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
235
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
236
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
237
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
238
|
+
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
239
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
240
|
+
ONLY_ACTIVE_ARCH = YES;
|
241
|
+
SDKROOT = macosx;
|
242
|
+
};
|
243
|
+
name = Debug;
|
244
|
+
};
|
245
|
+
291F51BF1B99473000C165C6 /* Release */ = {
|
246
|
+
isa = XCBuildConfiguration;
|
247
|
+
buildSettings = {
|
248
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
249
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
250
|
+
CLANG_CXX_LIBRARY = "libc++";
|
251
|
+
CLANG_ENABLE_MODULES = YES;
|
252
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
253
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
254
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
255
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
256
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
257
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
258
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
259
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
260
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
261
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
262
|
+
COPY_PHASE_STRIP = NO;
|
263
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
264
|
+
ENABLE_NS_ASSERTIONS = NO;
|
265
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
266
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
267
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
268
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
269
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
270
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
271
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
272
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
273
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
274
|
+
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
275
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
276
|
+
SDKROOT = macosx;
|
277
|
+
};
|
278
|
+
name = Release;
|
279
|
+
};
|
280
|
+
291F51C11B99473000C165C6 /* Debug */ = {
|
281
|
+
isa = XCBuildConfiguration;
|
282
|
+
baseConfigurationReference = 5949E711176CA7D55DB1F878 /* Pods-CLIConsumer.debug.xcconfig */;
|
283
|
+
buildSettings = {
|
284
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
|
285
|
+
CLANG_ENABLE_MODULES = YES;
|
286
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
|
287
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
288
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
289
|
+
SWIFT_VERSION = 5.0;
|
290
|
+
};
|
291
|
+
name = Debug;
|
292
|
+
};
|
293
|
+
291F51C21B99473000C165C6 /* Release */ = {
|
294
|
+
isa = XCBuildConfiguration;
|
295
|
+
baseConfigurationReference = DE58C87647762F5632373BB7 /* Pods-CLIConsumer.release.xcconfig */;
|
296
|
+
buildSettings = {
|
297
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
|
298
|
+
CLANG_ENABLE_MODULES = YES;
|
299
|
+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
|
300
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
301
|
+
SWIFT_VERSION = 5.0;
|
302
|
+
};
|
303
|
+
name = Release;
|
304
|
+
};
|
305
|
+
/* End XCBuildConfiguration section */
|
306
|
+
|
307
|
+
/* Begin XCConfigurationList section */
|
308
|
+
291F51B41B99473000C165C6 /* Build configuration list for PBXProject "CLIConsumer" */ = {
|
309
|
+
isa = XCConfigurationList;
|
310
|
+
buildConfigurations = (
|
311
|
+
291F51BE1B99473000C165C6 /* Debug */,
|
312
|
+
291F51BF1B99473000C165C6 /* Release */,
|
313
|
+
);
|
314
|
+
defaultConfigurationIsVisible = 0;
|
315
|
+
defaultConfigurationName = Release;
|
316
|
+
};
|
317
|
+
291F51C01B99473000C165C6 /* Build configuration list for PBXNativeTarget "CLIConsumer" */ = {
|
318
|
+
isa = XCConfigurationList;
|
319
|
+
buildConfigurations = (
|
320
|
+
291F51C11B99473000C165C6 /* Debug */,
|
321
|
+
291F51C21B99473000C165C6 /* Release */,
|
322
|
+
);
|
323
|
+
defaultConfigurationIsVisible = 0;
|
324
|
+
defaultConfigurationName = Release;
|
325
|
+
};
|
326
|
+
/* End XCConfigurationList section */
|
327
|
+
};
|
328
|
+
rootObject = 291F51B11B99473000C165C6 /* Project object */;
|
329
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Scheme
|
3
|
+
LastUpgradeVersion = "0640"
|
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 = "291F51B81B99473000C165C6"
|
18
|
+
BuildableName = "CLIConsumer"
|
19
|
+
BlueprintName = "CLIConsumer"
|
20
|
+
ReferencedContainer = "container:CLIConsumer.xcodeproj">
|
21
|
+
</BuildableReference>
|
22
|
+
</BuildActionEntry>
|
23
|
+
</BuildActionEntries>
|
24
|
+
</BuildAction>
|
25
|
+
<TestAction
|
26
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
27
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
28
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
29
|
+
buildConfiguration = "Debug">
|
30
|
+
<Testables>
|
31
|
+
</Testables>
|
32
|
+
<MacroExpansion>
|
33
|
+
<BuildableReference
|
34
|
+
BuildableIdentifier = "primary"
|
35
|
+
BlueprintIdentifier = "291F51B81B99473000C165C6"
|
36
|
+
BuildableName = "CLIConsumer"
|
37
|
+
BlueprintName = "CLIConsumer"
|
38
|
+
ReferencedContainer = "container:CLIConsumer.xcodeproj">
|
39
|
+
</BuildableReference>
|
40
|
+
</MacroExpansion>
|
41
|
+
</TestAction>
|
42
|
+
<LaunchAction
|
43
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
44
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
45
|
+
launchStyle = "0"
|
46
|
+
useCustomWorkingDirectory = "NO"
|
47
|
+
buildConfiguration = "Debug"
|
48
|
+
ignoresPersistentStateOnLaunch = "NO"
|
49
|
+
debugDocumentVersioning = "YES"
|
50
|
+
allowLocationSimulation = "YES">
|
51
|
+
<BuildableProductRunnable
|
52
|
+
runnableDebuggingMode = "0">
|
53
|
+
<BuildableReference
|
54
|
+
BuildableIdentifier = "primary"
|
55
|
+
BlueprintIdentifier = "291F51B81B99473000C165C6"
|
56
|
+
BuildableName = "CLIConsumer"
|
57
|
+
BlueprintName = "CLIConsumer"
|
58
|
+
ReferencedContainer = "container:CLIConsumer.xcodeproj">
|
59
|
+
</BuildableReference>
|
60
|
+
</BuildableProductRunnable>
|
61
|
+
<AdditionalOptions>
|
62
|
+
</AdditionalOptions>
|
63
|
+
</LaunchAction>
|
64
|
+
<ProfileAction
|
65
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
66
|
+
savedToolIdentifier = ""
|
67
|
+
useCustomWorkingDirectory = "NO"
|
68
|
+
buildConfiguration = "Release"
|
69
|
+
debugDocumentVersioning = "YES">
|
70
|
+
<BuildableProductRunnable
|
71
|
+
runnableDebuggingMode = "0">
|
72
|
+
<BuildableReference
|
73
|
+
BuildableIdentifier = "primary"
|
74
|
+
BlueprintIdentifier = "291F51B81B99473000C165C6"
|
75
|
+
BuildableName = "CLIConsumer"
|
76
|
+
BlueprintName = "CLIConsumer"
|
77
|
+
ReferencedContainer = "container:CLIConsumer.xcodeproj">
|
78
|
+
</BuildableReference>
|
79
|
+
</BuildableProductRunnable>
|
80
|
+
</ProfileAction>
|
81
|
+
<AnalyzeAction
|
82
|
+
buildConfiguration = "Debug">
|
83
|
+
</AnalyzeAction>
|
84
|
+
<ArchiveAction
|
85
|
+
buildConfiguration = "Release"
|
86
|
+
revealArchiveInOrganizer = "YES">
|
87
|
+
</ArchiveAction>
|
88
|
+
</Scheme>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
set -e
|
4
|
+
set -x
|
5
|
+
cli_project_path=`dirname $0`
|
6
|
+
|
7
|
+
rm -rf $cli_project_path/Pods/ $cli_project_path/build/ $cli_project_path/Podfile.lock
|
8
|
+
|
9
|
+
pod install --project-directory=$cli_project_path --no-repo-update
|
10
|
+
|
11
|
+
xcodebuild -workspace $cli_project_path/CLIConsumer.xcworkspace -scheme CLIConsumer -configuration Release -derivedDataPath $cli_project_path/build/
|
12
|
+
|
13
|
+
./$cli_project_path/build/Build/Products/Release/CLIConsumer
|
@@ -0,0 +1 @@
|
|
1
|
+
the bare string
|
@@ -0,0 +1 @@
|
|
1
|
+
@import Foundation;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
Pod::Spec.new do |s|
|
4
|
+
s.name = 'MySample'
|
5
|
+
s.version = '0.0.1'
|
6
|
+
s.summary = 'A small summary on MySample library.'
|
7
|
+
|
8
|
+
s.description = <<-DESC
|
9
|
+
A longer description of MySample in Markdown format.
|
10
|
+
|
11
|
+
* Think: Why did you write this? What is the focus? What does it do?
|
12
|
+
* CocoaPods will be using this to generate tags, and improve search results.
|
13
|
+
* Try to keep it short, snappy and to the point.
|
14
|
+
* Finally, don't worry about the indent, CocoaPods strips it!
|
15
|
+
DESC
|
16
|
+
|
17
|
+
s.homepage = 'http://squareup.com/'
|
18
|
+
s.cocoapods_version = '>= 1.0'
|
19
|
+
|
20
|
+
s.license = { type: 'MIT', file: 'MIT' }
|
21
|
+
|
22
|
+
s.author = { 'Square Inc.' => 'someemail@gmail.com' }
|
23
|
+
|
24
|
+
s.ios.deployment_target = '9.0'
|
25
|
+
s.osx.deployment_target = '10.10'
|
26
|
+
s.watchos.deployment_target = '3.0'
|
27
|
+
|
28
|
+
s.swift_version = '5.0'
|
29
|
+
|
30
|
+
s.source = { git: 'local only', tag: s.version.to_s }
|
31
|
+
|
32
|
+
s.source_files = 'MySample', 'MySample/**/*.{h,m,swift}'
|
33
|
+
s.public_header_files = 'MySample/**/*.h'
|
34
|
+
s.private_header_files = 'MySample/Internal/**/*.h'
|
35
|
+
s.exclude_files = 'MySample/Exclude'
|
36
|
+
|
37
|
+
s.ios.frameworks = 'iAd', 'SystemConfiguration', 'CoreTelephony', 'MobileCoreServices'
|
38
|
+
|
39
|
+
s.user_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SOMETHING=1' }
|
40
|
+
s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SOMETHING=1' }
|
41
|
+
|
42
|
+
s.resource = '**/*.png'
|
43
|
+
|
44
|
+
s.preserve_paths = 'python/a.py', 'python/subpython/b.py'
|
45
|
+
end
|