xcfit 7.1.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1207b749be43407e7c47581b12b637eb987ccbab
4
- data.tar.gz: a9bb3ab211bbf2c283f358df56f80f6aefb44c04
3
+ metadata.gz: 87425e312876ab32ed0660f57604d926564bc43f
4
+ data.tar.gz: e82a1f9c9e916af5e1238c520e7faa077d38e6ee
5
5
  SHA512:
6
- metadata.gz: 9e2acab3067f1507936b242bf7e774c0408c31d42a9ad53b2f0c756180a09a9db9c914d3a0911cef4929ab06ca3b3117a31afe8d43bfbb5a755743aa7cfeb7f0
7
- data.tar.gz: d1701a40b1f459a13dfbccf5201b5b82dee44b7462c99c12fff5fa3e2bc971c45b7b271adc1aaac399bdde455605f8401e6059a3fcd6b6df49218504f945ef68
6
+ metadata.gz: fdf2266259f6ace573e31ce9115796832832f6197e55bf5ac9ccb7ec6e5febb98f94ad685a9b29596f3db106a505055d76ba4c2835d8b02d44f2d5fd7e800e43
7
+ data.tar.gz: f1f7ed52aedf472f66ad65dc07ea7fe2ab65f1823e08aad593b36f5839fddd5a07a9076893b39c0fb5c0bacf10065a0558587e22dd7d14dd4a4b9c6fb8fb41b2
@@ -0,0 +1,2 @@
1
+
2
+ github "Shashikant86/XCFit" "7.1.0"
@@ -0,0 +1 @@
1
+ github "Shashikant86/XCFit" "7.1.0"
@@ -0,0 +1,579 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 50;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 9B8ED8FD2096424100EEA377 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED8FC2096424100EEA377 /* AppDelegate.swift */; };
11
+ 9B8ED8FF2096424100EEA377 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED8FE2096424100EEA377 /* ViewController.swift */; };
12
+ 9B8ED9022096424100EEA377 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9B8ED9002096424100EEA377 /* Main.storyboard */; };
13
+ 9B8ED9042096424200EEA377 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9B8ED9032096424200EEA377 /* Assets.xcassets */; };
14
+ 9B8ED9072096424200EEA377 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9B8ED9052096424200EEA377 /* LaunchScreen.storyboard */; };
15
+ 9B8ED91B209642B200EEA377 /* Feature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED91A209642B200EEA377 /* Feature.swift */; };
16
+ 9B8ED91E209642B200EEA377 /* FeatureSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED91D209642B200EEA377 /* FeatureSteps.swift */; };
17
+ 9B8ED921209642B200EEA377 /* FeatureElements.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED920209642B200EEA377 /* FeatureElements.swift */; };
18
+ 9B8ED924209642B200EEA377 /* FeatureTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED923209642B200EEA377 /* FeatureTests.swift */; };
19
+ 9B8ED927209642B200EEA377 /* UITestBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8ED926209642B200EEA377 /* UITestBase.swift */; };
20
+ 9B8ED9302096452700EEA377 /* XCFit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9B8ED92F2096452700EEA377 /* XCFit.framework */; };
21
+ /* End PBXBuildFile section */
22
+
23
+ /* Begin PBXContainerItemProxy section */
24
+ 9B8ED929209642B200EEA377 /* PBXContainerItemProxy */ = {
25
+ isa = PBXContainerItemProxy;
26
+ containerPortal = 9B8ED8F12096424100EEA377 /* Project object */;
27
+ proxyType = 1;
28
+ remoteGlobalIDString = 9B8ED8F82096424100EEA377;
29
+ remoteInfo = "XCFit-Demo";
30
+ };
31
+ /* End PBXContainerItemProxy section */
32
+
33
+ /* Begin PBXFileReference section */
34
+ 9B8ED8F92096424100EEA377 /* XCFit-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "XCFit-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
35
+ 9B8ED8FC2096424100EEA377 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
36
+ 9B8ED8FE2096424100EEA377 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
37
+ 9B8ED9012096424100EEA377 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
38
+ 9B8ED9032096424200EEA377 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
39
+ 9B8ED9062096424200EEA377 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
40
+ 9B8ED9082096424200EEA377 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
41
+ 9B8ED915209642B100EEA377 /* XCFit-DemoProtocolBDDTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "XCFit-DemoProtocolBDDTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
42
+ 9B8ED91A209642B200EEA377 /* Feature.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Feature.swift; sourceTree = "<group>"; };
43
+ 9B8ED91D209642B200EEA377 /* FeatureSteps.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureSteps.swift; sourceTree = "<group>"; };
44
+ 9B8ED920209642B200EEA377 /* FeatureElements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureElements.swift; sourceTree = "<group>"; };
45
+ 9B8ED923209642B200EEA377 /* FeatureTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureTests.swift; sourceTree = "<group>"; };
46
+ 9B8ED926209642B200EEA377 /* UITestBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UITestBase.swift; sourceTree = "<group>"; };
47
+ 9B8ED928209642B200EEA377 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
48
+ 9B8ED92F2096452700EEA377 /* XCFit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCFit.framework; path = Carthage/Build/iOS/XCFit.framework; sourceTree = "<group>"; };
49
+ /* End PBXFileReference section */
50
+
51
+ /* Begin PBXFrameworksBuildPhase section */
52
+ 9B8ED8F62096424100EEA377 /* Frameworks */ = {
53
+ isa = PBXFrameworksBuildPhase;
54
+ buildActionMask = 2147483647;
55
+ files = (
56
+ );
57
+ runOnlyForDeploymentPostprocessing = 0;
58
+ };
59
+ 9B8ED90F209642B100EEA377 /* Frameworks */ = {
60
+ isa = PBXFrameworksBuildPhase;
61
+ buildActionMask = 2147483647;
62
+ files = (
63
+ 9B8ED9302096452700EEA377 /* XCFit.framework in Frameworks */,
64
+ );
65
+ runOnlyForDeploymentPostprocessing = 0;
66
+ };
67
+ 9B8ED912209642B100EEA377 /* Frameworks */ = {
68
+ isa = PBXFrameworksBuildPhase;
69
+ buildActionMask = 2147483647;
70
+ files = (
71
+ );
72
+ runOnlyForDeploymentPostprocessing = 0;
73
+ };
74
+ /* End PBXFrameworksBuildPhase section */
75
+
76
+ /* Begin PBXGroup section */
77
+ 9B8ED8F02096424100EEA377 = {
78
+ isa = PBXGroup;
79
+ children = (
80
+ 9B8ED8FB2096424100EEA377 /* XCFit-Demo */,
81
+ 9B8ED916209642B200EEA377 /* XCFit-DemoProtocolBDDTests */,
82
+ 9B8ED8FA2096424100EEA377 /* Products */,
83
+ 9B8ED92E2096452700EEA377 /* Frameworks */,
84
+ );
85
+ sourceTree = "<group>";
86
+ };
87
+ 9B8ED8FA2096424100EEA377 /* Products */ = {
88
+ isa = PBXGroup;
89
+ children = (
90
+ 9B8ED8F92096424100EEA377 /* XCFit-Demo.app */,
91
+ 9B8ED915209642B100EEA377 /* XCFit-DemoProtocolBDDTests.xctest */,
92
+ );
93
+ name = Products;
94
+ sourceTree = "<group>";
95
+ };
96
+ 9B8ED8FB2096424100EEA377 /* XCFit-Demo */ = {
97
+ isa = PBXGroup;
98
+ children = (
99
+ 9B8ED8FC2096424100EEA377 /* AppDelegate.swift */,
100
+ 9B8ED8FE2096424100EEA377 /* ViewController.swift */,
101
+ 9B8ED9002096424100EEA377 /* Main.storyboard */,
102
+ 9B8ED9032096424200EEA377 /* Assets.xcassets */,
103
+ 9B8ED9052096424200EEA377 /* LaunchScreen.storyboard */,
104
+ 9B8ED9082096424200EEA377 /* Info.plist */,
105
+ );
106
+ path = "XCFit-Demo";
107
+ sourceTree = "<group>";
108
+ };
109
+ 9B8ED916209642B200EEA377 /* XCFit-DemoProtocolBDDTests */ = {
110
+ isa = PBXGroup;
111
+ children = (
112
+ 9B8ED928209642B200EEA377 /* Info.plist */,
113
+ 9B8ED919209642B200EEA377 /* Features */,
114
+ 9B8ED91C209642B200EEA377 /* StepDefinitions */,
115
+ 9B8ED91F209642B200EEA377 /* XCUIElements */,
116
+ 9B8ED922209642B200EEA377 /* Tests */,
117
+ 9B8ED925209642B200EEA377 /* Common */,
118
+ );
119
+ path = "XCFit-DemoProtocolBDDTests";
120
+ sourceTree = "<group>";
121
+ };
122
+ 9B8ED919209642B200EEA377 /* Features */ = {
123
+ isa = PBXGroup;
124
+ children = (
125
+ 9B8ED91A209642B200EEA377 /* Feature.swift */,
126
+ );
127
+ name = Features;
128
+ sourceTree = "<group>";
129
+ };
130
+ 9B8ED91C209642B200EEA377 /* StepDefinitions */ = {
131
+ isa = PBXGroup;
132
+ children = (
133
+ 9B8ED91D209642B200EEA377 /* FeatureSteps.swift */,
134
+ );
135
+ name = StepDefinitions;
136
+ sourceTree = "<group>";
137
+ };
138
+ 9B8ED91F209642B200EEA377 /* XCUIElements */ = {
139
+ isa = PBXGroup;
140
+ children = (
141
+ 9B8ED920209642B200EEA377 /* FeatureElements.swift */,
142
+ );
143
+ name = XCUIElements;
144
+ sourceTree = "<group>";
145
+ };
146
+ 9B8ED922209642B200EEA377 /* Tests */ = {
147
+ isa = PBXGroup;
148
+ children = (
149
+ 9B8ED923209642B200EEA377 /* FeatureTests.swift */,
150
+ );
151
+ name = Tests;
152
+ sourceTree = "<group>";
153
+ };
154
+ 9B8ED925209642B200EEA377 /* Common */ = {
155
+ isa = PBXGroup;
156
+ children = (
157
+ 9B8ED926209642B200EEA377 /* UITestBase.swift */,
158
+ );
159
+ name = Common;
160
+ sourceTree = "<group>";
161
+ };
162
+ 9B8ED92E2096452700EEA377 /* Frameworks */ = {
163
+ isa = PBXGroup;
164
+ children = (
165
+ 9B8ED92F2096452700EEA377 /* XCFit.framework */,
166
+ );
167
+ name = Frameworks;
168
+ sourceTree = "<group>";
169
+ };
170
+ /* End PBXGroup section */
171
+
172
+ /* Begin PBXNativeTarget section */
173
+ 9B8ED8F82096424100EEA377 /* XCFit-Demo */ = {
174
+ isa = PBXNativeTarget;
175
+ buildConfigurationList = 9B8ED90B2096424200EEA377 /* Build configuration list for PBXNativeTarget "XCFit-Demo" */;
176
+ buildPhases = (
177
+ 9B8ED8F52096424100EEA377 /* Sources */,
178
+ 9B8ED8F62096424100EEA377 /* Frameworks */,
179
+ 9B8ED8F72096424100EEA377 /* Resources */,
180
+ );
181
+ buildRules = (
182
+ );
183
+ dependencies = (
184
+ );
185
+ name = "XCFit-Demo";
186
+ productName = "XCFit-Demo";
187
+ productReference = 9B8ED8F92096424100EEA377 /* XCFit-Demo.app */;
188
+ productType = "com.apple.product-type.application";
189
+ };
190
+ 9B8ED914209642B100EEA377 /* XCFit-DemoProtocolBDDTests */ = {
191
+ isa = PBXNativeTarget;
192
+ buildConfigurationList = 9B8ED92B209642B200EEA377 /* Build configuration list for PBXNativeTarget "XCFit-DemoProtocolBDDTests" */;
193
+ buildPhases = (
194
+ 9B8ED90E209642B100EEA377 /* Sources */,
195
+ 9B8ED90F209642B100EEA377 /* Frameworks */,
196
+ 9B8ED910209642B100EEA377 /* Resources */,
197
+ 9B8ED911209642B100EEA377 /* Sources */,
198
+ 9B8ED912209642B100EEA377 /* Frameworks */,
199
+ 9B8ED913209642B100EEA377 /* Resources */,
200
+ 9B8ED931209645B600EEA377 /* ShellScript */,
201
+ );
202
+ buildRules = (
203
+ );
204
+ dependencies = (
205
+ 9B8ED92A209642B200EEA377 /* PBXTargetDependency */,
206
+ );
207
+ name = "XCFit-DemoProtocolBDDTests";
208
+ productName = "XCFit-DemoProtocolBDDTests";
209
+ productReference = 9B8ED915209642B100EEA377 /* XCFit-DemoProtocolBDDTests.xctest */;
210
+ productType = "com.apple.product-type.bundle.ui-testing";
211
+ };
212
+ /* End PBXNativeTarget section */
213
+
214
+ /* Begin PBXProject section */
215
+ 9B8ED8F12096424100EEA377 /* Project object */ = {
216
+ isa = PBXProject;
217
+ attributes = {
218
+ LastSwiftUpdateCheck = 0930;
219
+ LastUpgradeCheck = 0930;
220
+ ORGANIZATIONNAME = "Shashikant Jagtap";
221
+ TargetAttributes = {
222
+ 9B8ED8F82096424100EEA377 = {
223
+ CreatedOnToolsVersion = 9.3;
224
+ };
225
+ 9B8ED914209642B100EEA377 = {
226
+ CreatedOnToolsVersion = 9.3;
227
+ TestTargetID = 9B8ED8F82096424100EEA377;
228
+ };
229
+ };
230
+ };
231
+ buildConfigurationList = 9B8ED8F42096424100EEA377 /* Build configuration list for PBXProject "XCFit-Demo" */;
232
+ compatibilityVersion = "Xcode 9.3";
233
+ developmentRegion = en;
234
+ hasScannedForEncodings = 0;
235
+ knownRegions = (
236
+ en,
237
+ Base,
238
+ );
239
+ mainGroup = 9B8ED8F02096424100EEA377;
240
+ productRefGroup = 9B8ED8FA2096424100EEA377 /* Products */;
241
+ projectDirPath = "";
242
+ projectRoot = "";
243
+ targets = (
244
+ 9B8ED8F82096424100EEA377 /* XCFit-Demo */,
245
+ 9B8ED914209642B100EEA377 /* XCFit-DemoProtocolBDDTests */,
246
+ );
247
+ };
248
+ /* End PBXProject section */
249
+
250
+ /* Begin PBXResourcesBuildPhase section */
251
+ 9B8ED8F72096424100EEA377 /* Resources */ = {
252
+ isa = PBXResourcesBuildPhase;
253
+ buildActionMask = 2147483647;
254
+ files = (
255
+ 9B8ED9072096424200EEA377 /* LaunchScreen.storyboard in Resources */,
256
+ 9B8ED9042096424200EEA377 /* Assets.xcassets in Resources */,
257
+ 9B8ED9022096424100EEA377 /* Main.storyboard in Resources */,
258
+ );
259
+ runOnlyForDeploymentPostprocessing = 0;
260
+ };
261
+ 9B8ED910209642B100EEA377 /* Resources */ = {
262
+ isa = PBXResourcesBuildPhase;
263
+ buildActionMask = 2147483647;
264
+ files = (
265
+ );
266
+ runOnlyForDeploymentPostprocessing = 0;
267
+ };
268
+ 9B8ED913209642B100EEA377 /* Resources */ = {
269
+ isa = PBXResourcesBuildPhase;
270
+ buildActionMask = 2147483647;
271
+ files = (
272
+ );
273
+ runOnlyForDeploymentPostprocessing = 0;
274
+ };
275
+ /* End PBXResourcesBuildPhase section */
276
+
277
+ /* Begin PBXShellScriptBuildPhase section */
278
+ 9B8ED931209645B600EEA377 /* ShellScript */ = {
279
+ isa = PBXShellScriptBuildPhase;
280
+ buildActionMask = 2147483647;
281
+ files = (
282
+ );
283
+ inputPaths = (
284
+ "$(SRCROOT)/Carthage/Build/iOS/XCFit.framework ",
285
+ );
286
+ outputPaths = (
287
+ );
288
+ runOnlyForDeploymentPostprocessing = 0;
289
+ shellPath = /bin/sh;
290
+ shellScript = "/usr/local/bin/carthage copy-frameworks";
291
+ };
292
+ /* End PBXShellScriptBuildPhase section */
293
+
294
+ /* Begin PBXSourcesBuildPhase section */
295
+ 9B8ED8F52096424100EEA377 /* Sources */ = {
296
+ isa = PBXSourcesBuildPhase;
297
+ buildActionMask = 2147483647;
298
+ files = (
299
+ 9B8ED8FF2096424100EEA377 /* ViewController.swift in Sources */,
300
+ 9B8ED8FD2096424100EEA377 /* AppDelegate.swift in Sources */,
301
+ );
302
+ runOnlyForDeploymentPostprocessing = 0;
303
+ };
304
+ 9B8ED90E209642B100EEA377 /* Sources */ = {
305
+ isa = PBXSourcesBuildPhase;
306
+ buildActionMask = 2147483647;
307
+ files = (
308
+ 9B8ED91E209642B200EEA377 /* FeatureSteps.swift in Sources */,
309
+ 9B8ED921209642B200EEA377 /* FeatureElements.swift in Sources */,
310
+ 9B8ED927209642B200EEA377 /* UITestBase.swift in Sources */,
311
+ 9B8ED91B209642B200EEA377 /* Feature.swift in Sources */,
312
+ 9B8ED924209642B200EEA377 /* FeatureTests.swift in Sources */,
313
+ );
314
+ runOnlyForDeploymentPostprocessing = 0;
315
+ };
316
+ 9B8ED911209642B100EEA377 /* Sources */ = {
317
+ isa = PBXSourcesBuildPhase;
318
+ buildActionMask = 2147483647;
319
+ files = (
320
+ );
321
+ runOnlyForDeploymentPostprocessing = 0;
322
+ };
323
+ /* End PBXSourcesBuildPhase section */
324
+
325
+ /* Begin PBXTargetDependency section */
326
+ 9B8ED92A209642B200EEA377 /* PBXTargetDependency */ = {
327
+ isa = PBXTargetDependency;
328
+ target = 9B8ED8F82096424100EEA377 /* XCFit-Demo */;
329
+ targetProxy = 9B8ED929209642B200EEA377 /* PBXContainerItemProxy */;
330
+ };
331
+ /* End PBXTargetDependency section */
332
+
333
+ /* Begin PBXVariantGroup section */
334
+ 9B8ED9002096424100EEA377 /* Main.storyboard */ = {
335
+ isa = PBXVariantGroup;
336
+ children = (
337
+ 9B8ED9012096424100EEA377 /* Base */,
338
+ );
339
+ name = Main.storyboard;
340
+ sourceTree = "<group>";
341
+ };
342
+ 9B8ED9052096424200EEA377 /* LaunchScreen.storyboard */ = {
343
+ isa = PBXVariantGroup;
344
+ children = (
345
+ 9B8ED9062096424200EEA377 /* Base */,
346
+ );
347
+ name = LaunchScreen.storyboard;
348
+ sourceTree = "<group>";
349
+ };
350
+ /* End PBXVariantGroup section */
351
+
352
+ /* Begin XCBuildConfiguration section */
353
+ 9B8ED9092096424200EEA377 /* Debug */ = {
354
+ isa = XCBuildConfiguration;
355
+ buildSettings = {
356
+ ALWAYS_SEARCH_USER_PATHS = NO;
357
+ CLANG_ANALYZER_NONNULL = YES;
358
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
359
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
360
+ CLANG_CXX_LIBRARY = "libc++";
361
+ CLANG_ENABLE_MODULES = YES;
362
+ CLANG_ENABLE_OBJC_ARC = YES;
363
+ CLANG_ENABLE_OBJC_WEAK = YES;
364
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
365
+ CLANG_WARN_BOOL_CONVERSION = YES;
366
+ CLANG_WARN_COMMA = YES;
367
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
368
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
369
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
370
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
371
+ CLANG_WARN_EMPTY_BODY = YES;
372
+ CLANG_WARN_ENUM_CONVERSION = YES;
373
+ CLANG_WARN_INFINITE_RECURSION = YES;
374
+ CLANG_WARN_INT_CONVERSION = YES;
375
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
376
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
377
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
378
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
379
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
380
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
381
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
382
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
383
+ CLANG_WARN_UNREACHABLE_CODE = YES;
384
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
385
+ CODE_SIGN_IDENTITY = "iPhone Developer";
386
+ COPY_PHASE_STRIP = NO;
387
+ DEBUG_INFORMATION_FORMAT = dwarf;
388
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
389
+ ENABLE_TESTABILITY = YES;
390
+ GCC_C_LANGUAGE_STANDARD = gnu11;
391
+ GCC_DYNAMIC_NO_PIC = NO;
392
+ GCC_NO_COMMON_BLOCKS = YES;
393
+ GCC_OPTIMIZATION_LEVEL = 0;
394
+ GCC_PREPROCESSOR_DEFINITIONS = (
395
+ "DEBUG=1",
396
+ "$(inherited)",
397
+ );
398
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
399
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
400
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
401
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
402
+ GCC_WARN_UNUSED_FUNCTION = YES;
403
+ GCC_WARN_UNUSED_VARIABLE = YES;
404
+ IPHONEOS_DEPLOYMENT_TARGET = 11.3;
405
+ MTL_ENABLE_DEBUG_INFO = YES;
406
+ ONLY_ACTIVE_ARCH = YES;
407
+ SDKROOT = iphoneos;
408
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
409
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
410
+ };
411
+ name = Debug;
412
+ };
413
+ 9B8ED90A2096424200EEA377 /* Release */ = {
414
+ isa = XCBuildConfiguration;
415
+ buildSettings = {
416
+ ALWAYS_SEARCH_USER_PATHS = NO;
417
+ CLANG_ANALYZER_NONNULL = YES;
418
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
419
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
420
+ CLANG_CXX_LIBRARY = "libc++";
421
+ CLANG_ENABLE_MODULES = YES;
422
+ CLANG_ENABLE_OBJC_ARC = YES;
423
+ CLANG_ENABLE_OBJC_WEAK = YES;
424
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
425
+ CLANG_WARN_BOOL_CONVERSION = YES;
426
+ CLANG_WARN_COMMA = YES;
427
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
428
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
429
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
430
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
431
+ CLANG_WARN_EMPTY_BODY = YES;
432
+ CLANG_WARN_ENUM_CONVERSION = YES;
433
+ CLANG_WARN_INFINITE_RECURSION = YES;
434
+ CLANG_WARN_INT_CONVERSION = YES;
435
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
436
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
437
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
438
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
439
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
440
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
441
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
442
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
443
+ CLANG_WARN_UNREACHABLE_CODE = YES;
444
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
445
+ CODE_SIGN_IDENTITY = "iPhone Developer";
446
+ COPY_PHASE_STRIP = NO;
447
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
448
+ ENABLE_NS_ASSERTIONS = NO;
449
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
450
+ GCC_C_LANGUAGE_STANDARD = gnu11;
451
+ GCC_NO_COMMON_BLOCKS = YES;
452
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
453
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
454
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
455
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
456
+ GCC_WARN_UNUSED_FUNCTION = YES;
457
+ GCC_WARN_UNUSED_VARIABLE = YES;
458
+ IPHONEOS_DEPLOYMENT_TARGET = 11.3;
459
+ MTL_ENABLE_DEBUG_INFO = NO;
460
+ SDKROOT = iphoneos;
461
+ SWIFT_COMPILATION_MODE = wholemodule;
462
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
463
+ VALIDATE_PRODUCT = YES;
464
+ };
465
+ name = Release;
466
+ };
467
+ 9B8ED90C2096424200EEA377 /* Debug */ = {
468
+ isa = XCBuildConfiguration;
469
+ buildSettings = {
470
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
471
+ CODE_SIGN_STYLE = Automatic;
472
+ INFOPLIST_FILE = "XCFit-Demo/Info.plist";
473
+ LD_RUNPATH_SEARCH_PATHS = (
474
+ "$(inherited)",
475
+ "@executable_path/Frameworks",
476
+ );
477
+ PRODUCT_BUNDLE_IDENTIFIER = "com.app.XCFit-Demo";
478
+ PRODUCT_NAME = "$(TARGET_NAME)";
479
+ SWIFT_VERSION = 4.0;
480
+ TARGETED_DEVICE_FAMILY = "1,2";
481
+ };
482
+ name = Debug;
483
+ };
484
+ 9B8ED90D2096424200EEA377 /* Release */ = {
485
+ isa = XCBuildConfiguration;
486
+ buildSettings = {
487
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
488
+ CODE_SIGN_STYLE = Automatic;
489
+ INFOPLIST_FILE = "XCFit-Demo/Info.plist";
490
+ LD_RUNPATH_SEARCH_PATHS = (
491
+ "$(inherited)",
492
+ "@executable_path/Frameworks",
493
+ );
494
+ PRODUCT_BUNDLE_IDENTIFIER = "com.app.XCFit-Demo";
495
+ PRODUCT_NAME = "$(TARGET_NAME)";
496
+ SWIFT_VERSION = 4.0;
497
+ TARGETED_DEVICE_FAMILY = "1,2";
498
+ };
499
+ name = Release;
500
+ };
501
+ 9B8ED92C209642B200EEA377 /* Debug */ = {
502
+ isa = XCBuildConfiguration;
503
+ buildSettings = {
504
+ CODE_SIGN_STYLE = Automatic;
505
+ FRAMEWORK_SEARCH_PATHS = (
506
+ "$(inherited)",
507
+ "$(PROJECT_DIR)/Carthage/Build/iOS",
508
+ );
509
+ INFOPLIST_FILE = "XCFit-DemoProtocolBDDTests/Info.plist";
510
+ LD_RUNPATH_SEARCH_PATHS = (
511
+ "$(inherited)",
512
+ "@executable_path/Frameworks",
513
+ "@loader_path/Frameworks",
514
+ );
515
+ PRODUCT_BUNDLE_IDENTIFIER = "com.app.XCFit-DemoProtocolBDDTests";
516
+ PRODUCT_NAME = "$(TARGET_NAME)";
517
+ SRC_ROOT = "@\\\"$(SRCROOT)\\\"";
518
+ SWIFT_VERSION = 4.0;
519
+ TARGETED_DEVICE_FAMILY = "1,2";
520
+ TEST_TARGET_NAME = "XCFit-Demo";
521
+ };
522
+ name = Debug;
523
+ };
524
+ 9B8ED92D209642B200EEA377 /* Release */ = {
525
+ isa = XCBuildConfiguration;
526
+ buildSettings = {
527
+ CODE_SIGN_STYLE = Automatic;
528
+ FRAMEWORK_SEARCH_PATHS = (
529
+ "$(inherited)",
530
+ "$(PROJECT_DIR)/Carthage/Build/iOS",
531
+ );
532
+ INFOPLIST_FILE = "XCFit-DemoProtocolBDDTests/Info.plist";
533
+ LD_RUNPATH_SEARCH_PATHS = (
534
+ "$(inherited)",
535
+ "@executable_path/Frameworks",
536
+ "@loader_path/Frameworks",
537
+ );
538
+ PRODUCT_BUNDLE_IDENTIFIER = "com.app.XCFit-DemoProtocolBDDTests";
539
+ PRODUCT_NAME = "$(TARGET_NAME)";
540
+ SWIFT_VERSION = 4.0;
541
+ TARGETED_DEVICE_FAMILY = "1,2";
542
+ TEST_TARGET_NAME = "XCFit-Demo";
543
+ };
544
+ name = Release;
545
+ };
546
+ /* End XCBuildConfiguration section */
547
+
548
+ /* Begin XCConfigurationList section */
549
+ 9B8ED8F42096424100EEA377 /* Build configuration list for PBXProject "XCFit-Demo" */ = {
550
+ isa = XCConfigurationList;
551
+ buildConfigurations = (
552
+ 9B8ED9092096424200EEA377 /* Debug */,
553
+ 9B8ED90A2096424200EEA377 /* Release */,
554
+ );
555
+ defaultConfigurationIsVisible = 0;
556
+ defaultConfigurationName = Release;
557
+ };
558
+ 9B8ED90B2096424200EEA377 /* Build configuration list for PBXNativeTarget "XCFit-Demo" */ = {
559
+ isa = XCConfigurationList;
560
+ buildConfigurations = (
561
+ 9B8ED90C2096424200EEA377 /* Debug */,
562
+ 9B8ED90D2096424200EEA377 /* Release */,
563
+ );
564
+ defaultConfigurationIsVisible = 0;
565
+ defaultConfigurationName = Release;
566
+ };
567
+ 9B8ED92B209642B200EEA377 /* Build configuration list for PBXNativeTarget "XCFit-DemoProtocolBDDTests" */ = {
568
+ isa = XCConfigurationList;
569
+ buildConfigurations = (
570
+ 9B8ED92C209642B200EEA377 /* Debug */,
571
+ 9B8ED92D209642B200EEA377 /* Release */,
572
+ );
573
+ defaultConfigurationIsVisible = 0;
574
+ defaultConfigurationName = Release;
575
+ };
576
+ /* End XCConfigurationList section */
577
+ };
578
+ rootObject = 9B8ED8F12096424100EEA377 /* Project object */;
579
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:XCFit-Demo.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -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>
@@ -0,0 +1,46 @@
1
+ //
2
+ // AppDelegate.swift
3
+ // XCFit-Demo
4
+ //
5
+ // Created by Shashikant Jagtap on 29/04/2018.
6
+ // Copyright © 2018 Shashikant Jagtap. All rights reserved.
7
+ //
8
+
9
+ import UIKit
10
+
11
+ @UIApplicationMain
12
+ class AppDelegate: UIResponder, UIApplicationDelegate {
13
+
14
+ var window: UIWindow?
15
+
16
+
17
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18
+ // Override point for customization after application launch.
19
+ return true
20
+ }
21
+
22
+ func applicationWillResignActive(_ application: UIApplication) {
23
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25
+ }
26
+
27
+ func applicationDidEnterBackground(_ application: UIApplication) {
28
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30
+ }
31
+
32
+ func applicationWillEnterForeground(_ application: UIApplication) {
33
+ // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34
+ }
35
+
36
+ func applicationDidBecomeActive(_ application: UIApplication) {
37
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38
+ }
39
+
40
+ func applicationWillTerminate(_ application: UIApplication) {
41
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42
+ }
43
+
44
+
45
+ }
46
+
@@ -0,0 +1,98 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "20x20",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "20x20",
11
+ "scale" : "3x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "29x29",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "idiom" : "iphone",
20
+ "size" : "29x29",
21
+ "scale" : "3x"
22
+ },
23
+ {
24
+ "idiom" : "iphone",
25
+ "size" : "40x40",
26
+ "scale" : "2x"
27
+ },
28
+ {
29
+ "idiom" : "iphone",
30
+ "size" : "40x40",
31
+ "scale" : "3x"
32
+ },
33
+ {
34
+ "idiom" : "iphone",
35
+ "size" : "60x60",
36
+ "scale" : "2x"
37
+ },
38
+ {
39
+ "idiom" : "iphone",
40
+ "size" : "60x60",
41
+ "scale" : "3x"
42
+ },
43
+ {
44
+ "idiom" : "ipad",
45
+ "size" : "20x20",
46
+ "scale" : "1x"
47
+ },
48
+ {
49
+ "idiom" : "ipad",
50
+ "size" : "20x20",
51
+ "scale" : "2x"
52
+ },
53
+ {
54
+ "idiom" : "ipad",
55
+ "size" : "29x29",
56
+ "scale" : "1x"
57
+ },
58
+ {
59
+ "idiom" : "ipad",
60
+ "size" : "29x29",
61
+ "scale" : "2x"
62
+ },
63
+ {
64
+ "idiom" : "ipad",
65
+ "size" : "40x40",
66
+ "scale" : "1x"
67
+ },
68
+ {
69
+ "idiom" : "ipad",
70
+ "size" : "40x40",
71
+ "scale" : "2x"
72
+ },
73
+ {
74
+ "idiom" : "ipad",
75
+ "size" : "76x76",
76
+ "scale" : "1x"
77
+ },
78
+ {
79
+ "idiom" : "ipad",
80
+ "size" : "76x76",
81
+ "scale" : "2x"
82
+ },
83
+ {
84
+ "idiom" : "ipad",
85
+ "size" : "83.5x83.5",
86
+ "scale" : "2x"
87
+ },
88
+ {
89
+ "idiom" : "ios-marketing",
90
+ "size" : "1024x1024",
91
+ "scale" : "1x"
92
+ }
93
+ ],
94
+ "info" : {
95
+ "version" : 1,
96
+ "author" : "xcode"
97
+ }
98
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "info" : {
3
+ "version" : 1,
4
+ "author" : "xcode"
5
+ }
6
+ }
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
5
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
6
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7
+ </dependencies>
8
+ <scenes>
9
+ <!--View Controller-->
10
+ <scene sceneID="EHf-IW-A2E">
11
+ <objects>
12
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
13
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
14
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
15
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
17
+ <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
18
+ </view>
19
+ </viewController>
20
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
21
+ </objects>
22
+ <point key="canvasLocation" x="53" y="375"/>
23
+ </scene>
24
+ </scenes>
25
+ </document>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
5
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
6
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7
+ </dependencies>
8
+ <scenes>
9
+ <!--View Controller-->
10
+ <scene sceneID="tne-QT-ifu">
11
+ <objects>
12
+ <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
13
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
14
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
15
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
17
+ <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
18
+ </view>
19
+ </viewController>
20
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
21
+ </objects>
22
+ </scene>
23
+ </scenes>
24
+ </document>
@@ -0,0 +1,45 @@
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>$(DEVELOPMENT_LANGUAGE)</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>APPL</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>1.0</string>
19
+ <key>CFBundleVersion</key>
20
+ <string>1</string>
21
+ <key>LSRequiresIPhoneOS</key>
22
+ <true/>
23
+ <key>UILaunchStoryboardName</key>
24
+ <string>LaunchScreen</string>
25
+ <key>UIMainStoryboardFile</key>
26
+ <string>Main</string>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UISupportedInterfaceOrientations</key>
32
+ <array>
33
+ <string>UIInterfaceOrientationPortrait</string>
34
+ <string>UIInterfaceOrientationLandscapeLeft</string>
35
+ <string>UIInterfaceOrientationLandscapeRight</string>
36
+ </array>
37
+ <key>UISupportedInterfaceOrientations~ipad</key>
38
+ <array>
39
+ <string>UIInterfaceOrientationPortrait</string>
40
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
41
+ <string>UIInterfaceOrientationLandscapeLeft</string>
42
+ <string>UIInterfaceOrientationLandscapeRight</string>
43
+ </array>
44
+ </dict>
45
+ </plist>
@@ -0,0 +1,25 @@
1
+ //
2
+ // ViewController.swift
3
+ // XCFit-Demo
4
+ //
5
+ // Created by Shashikant Jagtap on 29/04/2018.
6
+ // Copyright © 2018 Shashikant Jagtap. All rights reserved.
7
+ //
8
+
9
+ import UIKit
10
+
11
+ class ViewController: UIViewController {
12
+
13
+ override func viewDidLoad() {
14
+ super.viewDidLoad()
15
+ // Do any additional setup after loading the view, typically from a nib.
16
+ }
17
+
18
+ override func didReceiveMemoryWarning() {
19
+ super.didReceiveMemoryWarning()
20
+ // Dispose of any resources that can be recreated.
21
+ }
22
+
23
+
24
+ }
25
+
@@ -0,0 +1,19 @@
1
+ //
2
+ //
3
+ // Created by XCFit Framework
4
+ // Copyright © 2017 XCFit Framework. All rights reserved.
5
+ //
6
+
7
+ /*
8
+
9
+ This is sample code created by XCFit Framework and can be edited/Removed as per your project need. You can also re-arrange Xcode Groups and directories as per your need.
10
+
11
+ This file is a protocol with all the requirements for the specific feature.
12
+ */
13
+
14
+ import Foundation
15
+ import XCTest
16
+
17
+ protocol Feature {
18
+ func testAppIsRunning()
19
+ }
@@ -0,0 +1,34 @@
1
+ //
2
+ //
3
+ // Created by XCFit Framework
4
+ // Copyright © 2017 XCFit Framework. All rights reserved.
5
+ //
6
+ //
7
+
8
+ /*
9
+
10
+ This is sample code created by XCFit Framework and can be edited/Removed as per your project need. You can also re-arrange Xcode Groups and directories as per your need.
11
+
12
+ This file stores all the XCUIElements for the screen or feature in the Swift enum
13
+
14
+ */
15
+
16
+
17
+ import Foundation
18
+ import XCTest
19
+
20
+ enum FeatureScreen: String {
21
+
22
+ case homeButton = "Home"
23
+
24
+ var button: XCUIElement {
25
+ switch self {
26
+ case .homeButton:
27
+ if UIDevice.current.userInterfaceIdiom == .pad {
28
+ return XCUIApplication().buttons["iPadHome"]
29
+ } else {
30
+ return XCUIApplication().buttons[self.rawValue]
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,35 @@
1
+ //
2
+ //
3
+ // Created by XCFit Framework
4
+ // Copyright © 2017 XCFit Framework. All rights reserved.
5
+ //
6
+ //
7
+
8
+ /*
9
+
10
+ This is sample code created by XCFit Framework and can be edited/Removed as per your project need. You can also re-arrange Xcode Groups and directories as per your need.
11
+
12
+ This is extension to Feature protocol to implement the steps in the given when then format.
13
+
14
+ */
15
+
16
+ import Foundation
17
+ import XCTest
18
+ //import XCFit
19
+
20
+ // Once XCFit is imported we can use predefined steps if needed
21
+
22
+ extension Feature {
23
+
24
+ func whenIswipeLeft() {
25
+ XCTContext.runActivity(named: "When I Swipe Left") { _ in
26
+ XCUIApplication().swipeLeft()
27
+ }
28
+ }
29
+
30
+ func whenITapHomeButton() {
31
+ XCTContext.runActivity(named: "When I Tap Home Button") { _ in
32
+ FeatureScreen.homeButton.button.tap()
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,24 @@
1
+ //
2
+ //
3
+ // Created by XCFit Framework
4
+ // Copyright © 2017 XCFit Framework. All rights reserved.
5
+ //
6
+
7
+ /*
8
+
9
+ This is sample code created by XCFit Framework and can be edited/Removed as per your project need. You can also re-arrange Xcode Groups and directories as per your need.
10
+
11
+ This is a actual representation of the test which extends to XCFit and confirms to Feature protocol. We can write a protocol per test implement steps with extensions and store elements in the enums.
12
+
13
+ */
14
+
15
+ import XCFit
16
+
17
+ class FeatureTests: UITestBase, Feature {
18
+
19
+ func testAppIsRunning() {
20
+ givenILaunchAppInCleanState()
21
+
22
+
23
+ }
24
+ }
@@ -0,0 +1,22 @@
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>$(DEVELOPMENT_LANGUAGE)</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>CFBundleVersion</key>
20
+ <string>1</string>
21
+ </dict>
22
+ </plist>
@@ -0,0 +1,63 @@
1
+ //
2
+ //
3
+ // Created by XCFit Framework
4
+ // Copyright © 2017 XCFit Framework. All rights reserved.
5
+ //
6
+
7
+ /*
8
+
9
+ This is sample code created by XCFit Framework and can be edited/Removed as per your project need.
10
+ You can also re-arrange Xcode Groups and directories as per your need.
11
+
12
+ This is a template class which can be extended to XCFit once imported
13
+ */
14
+
15
+ import Foundation
16
+ import XCTest
17
+ import XCFit
18
+
19
+ // Once XCFit is imported then you can extend this class to XCFit in order to use pre-defined steps
20
+
21
+ class UITestBase: XCFit {
22
+
23
+ var app: XCUIApplication!
24
+
25
+ let defaultLaunchArguments: [[String]] = {
26
+ let launchArguments: [[String]] = [["-StartFromCleanState", "YES"]]
27
+ guard let version = appVersion else { return launchArguments }
28
+ return launchArguments
29
+ }()
30
+
31
+ static var appVersion: String? {
32
+ guard let appPlist = Bundle.main.url(forResource: "yourApp", withExtension: "plist"),
33
+ let appInfo = NSDictionary(contentsOf: appPlist) else { return nil }
34
+ return appInfo["CFBundleShortVersionString"] as? String
35
+ }
36
+
37
+ override func setUp() {
38
+ super.setUp()
39
+ app = XCUIApplication()
40
+ continueAfterFailure = false
41
+ launchApp(with: defaultLaunchArguments)
42
+ }
43
+
44
+ override func tearDown() {
45
+ app.terminate()
46
+ app = nil
47
+ super.tearDown()
48
+ }
49
+
50
+ func launchApp(with launchArguments: [[String]] = []) {
51
+ (defaultLaunchArguments + launchArguments).forEach { app.launchArguments += $0 }
52
+ app.launch()
53
+ }
54
+ }
55
+
56
+ extension UITestBase {
57
+
58
+ func givenILaunchAppInCleanState() {
59
+ XCTContext.runActivity(named: "Given I Launch App in Clean State") { _ in
60
+ launchApp(with: defaultLaunchArguments)
61
+ }
62
+ }
63
+ }
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'XCFit'
3
- s.version = '7.1.0'
3
+ s.version = '8.0.0'
4
4
  s.summary = 'Full Stack BDD for iOS and macOS Apps with Swift, Xcode using XCUITest, Cucumberish, FitNesse and friends.'
5
5
 
6
6
  s.description = <<-DESC
@@ -1,3 +1,3 @@
1
1
  module XCFit
2
- VERSION = "7.1.0"
2
+ VERSION = "8.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcfit
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant86
@@ -76,6 +76,24 @@ files:
76
76
  - Pre-Defined_Steps/XCFit_Predefined_Steps.md
77
77
  - README.md
78
78
  - Rakefile
79
+ - XCFit-Demo/Cartfile
80
+ - XCFit-Demo/Cartfile.resolved
81
+ - XCFit-Demo/XCFit-Demo.xcodeproj/project.pbxproj
82
+ - XCFit-Demo/XCFit-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
83
+ - XCFit-Demo/XCFit-Demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
84
+ - XCFit-Demo/XCFit-Demo/AppDelegate.swift
85
+ - XCFit-Demo/XCFit-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json
86
+ - XCFit-Demo/XCFit-Demo/Assets.xcassets/Contents.json
87
+ - XCFit-Demo/XCFit-Demo/Base.lproj/LaunchScreen.storyboard
88
+ - XCFit-Demo/XCFit-Demo/Base.lproj/Main.storyboard
89
+ - XCFit-Demo/XCFit-Demo/Info.plist
90
+ - XCFit-Demo/XCFit-Demo/ViewController.swift
91
+ - XCFit-Demo/XCFit-DemoProtocolBDDTests/Feature.swift
92
+ - XCFit-Demo/XCFit-DemoProtocolBDDTests/FeatureElements.swift
93
+ - XCFit-Demo/XCFit-DemoProtocolBDDTests/FeatureSteps.swift
94
+ - XCFit-Demo/XCFit-DemoProtocolBDDTests/FeatureTests.swift
95
+ - XCFit-Demo/XCFit-DemoProtocolBDDTests/Info.plist
96
+ - XCFit-Demo/XCFit-DemoProtocolBDDTests/UITestBase.swift
79
97
  - XCFit.gemspec
80
98
  - XCFit.podspec
81
99
  - XCFit_Templates/XCFit/Base Acceptance Testing Bundle.xctemplate/TemplateIcon.icns