Skip to content

Commit 690ae4d

Browse files
committed
Create a Swift app with automated tests
1 parent e3aef23 commit 690ae4d

File tree

50 files changed

+2776
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2776
-11
lines changed

Example Apps/ExampleApp-iOS.xcodeproj/project.pbxproj

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2CA0465C1711AC8E006DEE8B /* ExampleApp.html in Resources */ = {isa = PBXBuildFile; fileRef = 2CA0465B1711AC8D006DEE8B /* ExampleApp.html */; };
2121
2CAB869B1727684300BD9ED1 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 2CAB869A1727684300BD9ED1 /* [email protected] */; };
2222
2CEB3EC01602563600548120 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CEB3EBF1602563600548120 /* UIKit.framework */; };
23+
6529BCFA17DEACD6F9C2E820 /* Pods_ExampleApp_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 495C20DD246029C0B2405EC9 /* Pods_ExampleApp_iOS.framework */; };
2324
/* End PBXBuildFile section */
2425

2526
/* Begin PBXFileReference section */
@@ -48,6 +49,9 @@
4849
2CEB3EBF1602563600548120 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
4950
2CEB3EC11602563600548120 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
5051
2CEB3EC31602563600548120 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
52+
495C20DD246029C0B2405EC9 /* Pods_ExampleApp_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ExampleApp_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
53+
4BCA4425A9554AF93A944458 /* Pods-ExampleApp-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExampleApp-iOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ExampleApp-iOS/Pods-ExampleApp-iOS.debug.xcconfig"; sourceTree = "<group>"; };
54+
E4F0C608003752F273BB146F /* Pods-ExampleApp-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExampleApp-iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-ExampleApp-iOS/Pods-ExampleApp-iOS.release.xcconfig"; sourceTree = "<group>"; };
5155
/* End PBXFileReference section */
5256

5357
/* Begin PBXFrameworksBuildPhase section */
@@ -57,6 +61,7 @@
5761
files = (
5862
0E4E9D4C1A101E0B00043087 /* WebKit.framework in Frameworks */,
5963
2CEB3EC01602563600548120 /* UIKit.framework in Frameworks */,
64+
6529BCFA17DEACD6F9C2E820 /* Pods_ExampleApp_iOS.framework in Frameworks */,
6065
);
6166
runOnlyForDeploymentPostprocessing = 0;
6267
};
@@ -113,6 +118,7 @@
113118
2CA045B617117439006DEE8B /* ExampleApp-iOS */,
114119
2CEB3EBE1602563600548120 /* Frameworks */,
115120
2CEB3EBC1602563600548120 /* Products */,
121+
81A733051B2F9C5795D856E4 /* Pods */,
116122
);
117123
sourceTree = "<group>";
118124
};
@@ -131,20 +137,33 @@
131137
2CEB3EBF1602563600548120 /* UIKit.framework */,
132138
2CEB3EC11602563600548120 /* Foundation.framework */,
133139
2CEB3EC31602563600548120 /* CoreGraphics.framework */,
140+
495C20DD246029C0B2405EC9 /* Pods_ExampleApp_iOS.framework */,
134141
);
135142
name = Frameworks;
136143
sourceTree = "<group>";
137144
};
145+
81A733051B2F9C5795D856E4 /* Pods */ = {
146+
isa = PBXGroup;
147+
children = (
148+
4BCA4425A9554AF93A944458 /* Pods-ExampleApp-iOS.debug.xcconfig */,
149+
E4F0C608003752F273BB146F /* Pods-ExampleApp-iOS.release.xcconfig */,
150+
);
151+
name = Pods;
152+
sourceTree = "<group>";
153+
};
138154
/* End PBXGroup section */
139155

140156
/* Begin PBXNativeTarget section */
141157
2CEB3EBA1602563600548120 /* ExampleApp-iOS */ = {
142158
isa = PBXNativeTarget;
143159
buildConfigurationList = 2CEB3ED31602563600548120 /* Build configuration list for PBXNativeTarget "ExampleApp-iOS" */;
144160
buildPhases = (
161+
953B195B62A37FA474FD95D5 /* [CP] Check Pods Manifest.lock */,
145162
2CEB3EB71602563600548120 /* Sources */,
146163
2CEB3EB81602563600548120 /* Frameworks */,
147164
2CEB3EB91602563600548120 /* Resources */,
165+
A9D6EE0CEB388638298EBC18 /* [CP] Embed Pods Frameworks */,
166+
7E64B37A61F02883676CA89F /* [CP] Copy Pods Resources */,
148167
);
149168
buildRules = (
150169
);
@@ -163,6 +182,11 @@
163182
attributes = {
164183
LastUpgradeCheck = 0810;
165184
ORGANIZATIONNAME = "Marcus Westin";
185+
TargetAttributes = {
186+
2CEB3EBA1602563600548120 = {
187+
LastSwiftMigration = 0820;
188+
};
189+
};
166190
};
167191
buildConfigurationList = 2CEB3EB51602563600548120 /* Build configuration list for PBXProject "ExampleApp-iOS" */;
168192
compatibilityVersion = "Xcode 3.2";
@@ -194,6 +218,54 @@
194218
};
195219
/* End PBXResourcesBuildPhase section */
196220

221+
/* Begin PBXShellScriptBuildPhase section */
222+
7E64B37A61F02883676CA89F /* [CP] Copy Pods Resources */ = {
223+
isa = PBXShellScriptBuildPhase;
224+
buildActionMask = 2147483647;
225+
files = (
226+
);
227+
inputPaths = (
228+
);
229+
name = "[CP] Copy Pods Resources";
230+
outputPaths = (
231+
);
232+
runOnlyForDeploymentPostprocessing = 0;
233+
shellPath = /bin/sh;
234+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExampleApp-iOS/Pods-ExampleApp-iOS-resources.sh\"\n";
235+
showEnvVarsInLog = 0;
236+
};
237+
953B195B62A37FA474FD95D5 /* [CP] Check Pods Manifest.lock */ = {
238+
isa = PBXShellScriptBuildPhase;
239+
buildActionMask = 2147483647;
240+
files = (
241+
);
242+
inputPaths = (
243+
);
244+
name = "[CP] Check Pods Manifest.lock";
245+
outputPaths = (
246+
);
247+
runOnlyForDeploymentPostprocessing = 0;
248+
shellPath = /bin/sh;
249+
shellScript = "diff \"${PODS_ROOT}/../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";
250+
showEnvVarsInLog = 0;
251+
};
252+
A9D6EE0CEB388638298EBC18 /* [CP] Embed Pods Frameworks */ = {
253+
isa = PBXShellScriptBuildPhase;
254+
buildActionMask = 2147483647;
255+
files = (
256+
);
257+
inputPaths = (
258+
);
259+
name = "[CP] Embed Pods Frameworks";
260+
outputPaths = (
261+
);
262+
runOnlyForDeploymentPostprocessing = 0;
263+
shellPath = /bin/sh;
264+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExampleApp-iOS/Pods-ExampleApp-iOS-frameworks.sh\"\n";
265+
showEnvVarsInLog = 0;
266+
};
267+
/* End PBXShellScriptBuildPhase section */
268+
197269
/* Begin PBXSourcesBuildPhase section */
198270
2CEB3EB71602563600548120 /* Sources */ = {
199271
isa = PBXSourcesBuildPhase;
@@ -301,26 +373,35 @@
301373
};
302374
2CEB3ED41602563600548120 /* Debug */ = {
303375
isa = XCBuildConfiguration;
376+
baseConfigurationReference = 4BCA4425A9554AF93A944458 /* Pods-ExampleApp-iOS.debug.xcconfig */;
304377
buildSettings = {
378+
CLANG_ENABLE_MODULES = YES;
305379
GCC_PRECOMPILE_PREFIX_HEADER = YES;
306380
GCC_PREFIX_HEADER = "ExampleApp-iOS/ExampleApp-iOS-Prefix.pch";
307381
INFOPLIST_FILE = "ExampleApp-iOS/ExampleApp-iOS-Info.plist";
308382
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
383+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
309384
PRODUCT_BUNDLE_IDENTIFIER = "com.example.${PRODUCT_NAME:rfc1034identifier}";
310385
PRODUCT_NAME = "ExampleApp-iOS";
386+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
387+
SWIFT_VERSION = 3.0;
311388
WRAPPER_EXTENSION = app;
312389
};
313390
name = Debug;
314391
};
315392
2CEB3ED51602563600548120 /* Release */ = {
316393
isa = XCBuildConfiguration;
394+
baseConfigurationReference = E4F0C608003752F273BB146F /* Pods-ExampleApp-iOS.release.xcconfig */;
317395
buildSettings = {
396+
CLANG_ENABLE_MODULES = YES;
318397
GCC_PRECOMPILE_PREFIX_HEADER = YES;
319398
GCC_PREFIX_HEADER = "ExampleApp-iOS/ExampleApp-iOS-Prefix.pch";
320399
INFOPLIST_FILE = "ExampleApp-iOS/ExampleApp-iOS-Info.plist";
321400
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
401+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
322402
PRODUCT_BUNDLE_IDENTIFIER = "com.example.${PRODUCT_NAME:rfc1034identifier}";
323403
PRODUCT_NAME = "ExampleApp-iOS";
404+
SWIFT_VERSION = 3.0;
324405
WRAPPER_EXTENSION = app;
325406
};
326407
name = Release;

0 commit comments

Comments
 (0)