Skip to content

Commit e2d1118

Browse files
committed
Swift: add skeleton iOS app for integration testing
1 parent a0d2213 commit e2d1118

File tree

11 files changed

+452
-0
lines changed

11 files changed

+452
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
| build/hello-ios.build/Release-iphoneos/hello-ios.build/DerivedSources/GeneratedAssetSymbols.swift:0:0:0:0 | build/hello-ios.build/Release-iphoneos/hello-ios.build/DerivedSources/GeneratedAssetSymbols.swift |
2+
| file://:0:0:0:0 | |
3+
| hello-ios/ContentView.swift:0:0:0:0 | hello-ios/ContentView.swift |
4+
| hello-ios/hello_iosApp.swift:0:0:0:0 | hello-ios/hello_iosApp.swift |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import swift
2+
3+
from File f
4+
select f
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 77;
7+
objects = {
8+
9+
/* Begin PBXFileReference section */
10+
686DF9C02D38E876006582C0 /* hello-ios.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "hello-ios.app"; sourceTree = BUILT_PRODUCTS_DIR; };
11+
/* End PBXFileReference section */
12+
13+
/* Begin PBXFileSystemSynchronizedRootGroup section */
14+
686DF9C22D38E876006582C0 /* hello-ios */ = {
15+
isa = PBXFileSystemSynchronizedRootGroup;
16+
path = "hello-ios";
17+
sourceTree = "<group>";
18+
};
19+
/* End PBXFileSystemSynchronizedRootGroup section */
20+
21+
/* Begin PBXFrameworksBuildPhase section */
22+
686DF9BD2D38E876006582C0 /* Frameworks */ = {
23+
isa = PBXFrameworksBuildPhase;
24+
buildActionMask = 2147483647;
25+
files = (
26+
);
27+
runOnlyForDeploymentPostprocessing = 0;
28+
};
29+
/* End PBXFrameworksBuildPhase section */
30+
31+
/* Begin PBXGroup section */
32+
686DF9B72D38E876006582C0 = {
33+
isa = PBXGroup;
34+
children = (
35+
686DF9C22D38E876006582C0 /* hello-ios */,
36+
686DF9C12D38E876006582C0 /* Products */,
37+
);
38+
sourceTree = "<group>";
39+
};
40+
686DF9C12D38E876006582C0 /* Products */ = {
41+
isa = PBXGroup;
42+
children = (
43+
686DF9C02D38E876006582C0 /* hello-ios.app */,
44+
);
45+
name = Products;
46+
sourceTree = "<group>";
47+
};
48+
/* End PBXGroup section */
49+
50+
/* Begin PBXNativeTarget section */
51+
686DF9BF2D38E876006582C0 /* hello-ios */ = {
52+
isa = PBXNativeTarget;
53+
buildConfigurationList = 686DF9CE2D38E878006582C0 /* Build configuration list for PBXNativeTarget "hello-ios" */;
54+
buildPhases = (
55+
686DF9BC2D38E876006582C0 /* Sources */,
56+
686DF9BD2D38E876006582C0 /* Frameworks */,
57+
686DF9BE2D38E876006582C0 /* Resources */,
58+
);
59+
buildRules = (
60+
);
61+
dependencies = (
62+
);
63+
fileSystemSynchronizedGroups = (
64+
686DF9C22D38E876006582C0 /* hello-ios */,
65+
);
66+
name = "hello-ios";
67+
packageProductDependencies = (
68+
);
69+
productName = "hello-ios";
70+
productReference = 686DF9C02D38E876006582C0 /* hello-ios.app */;
71+
productType = "com.apple.product-type.application";
72+
};
73+
/* End PBXNativeTarget section */
74+
75+
/* Begin PBXProject section */
76+
686DF9B82D38E876006582C0 /* Project object */ = {
77+
isa = PBXProject;
78+
attributes = {
79+
BuildIndependentTargetsInParallel = 1;
80+
LastSwiftUpdateCheck = 1620;
81+
LastUpgradeCheck = 1620;
82+
TargetAttributes = {
83+
686DF9BF2D38E876006582C0 = {
84+
CreatedOnToolsVersion = 16.2;
85+
};
86+
};
87+
};
88+
buildConfigurationList = 686DF9BB2D38E876006582C0 /* Build configuration list for PBXProject "hello-ios" */;
89+
developmentRegion = en;
90+
hasScannedForEncodings = 0;
91+
knownRegions = (
92+
en,
93+
Base,
94+
);
95+
mainGroup = 686DF9B72D38E876006582C0;
96+
minimizedProjectReferenceProxies = 1;
97+
preferredProjectObjectVersion = 77;
98+
productRefGroup = 686DF9C12D38E876006582C0 /* Products */;
99+
projectDirPath = "";
100+
projectRoot = "";
101+
targets = (
102+
686DF9BF2D38E876006582C0 /* hello-ios */,
103+
);
104+
};
105+
/* End PBXProject section */
106+
107+
/* Begin PBXResourcesBuildPhase section */
108+
686DF9BE2D38E876006582C0 /* Resources */ = {
109+
isa = PBXResourcesBuildPhase;
110+
buildActionMask = 2147483647;
111+
files = (
112+
);
113+
runOnlyForDeploymentPostprocessing = 0;
114+
};
115+
/* End PBXResourcesBuildPhase section */
116+
117+
/* Begin PBXSourcesBuildPhase section */
118+
686DF9BC2D38E876006582C0 /* Sources */ = {
119+
isa = PBXSourcesBuildPhase;
120+
buildActionMask = 2147483647;
121+
files = (
122+
);
123+
runOnlyForDeploymentPostprocessing = 0;
124+
};
125+
/* End PBXSourcesBuildPhase section */
126+
127+
/* Begin XCBuildConfiguration section */
128+
686DF9CC2D38E878006582C0 /* Debug */ = {
129+
isa = XCBuildConfiguration;
130+
buildSettings = {
131+
ALWAYS_SEARCH_USER_PATHS = NO;
132+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
133+
CLANG_ANALYZER_NONNULL = YES;
134+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
135+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
136+
CLANG_ENABLE_MODULES = YES;
137+
CLANG_ENABLE_OBJC_ARC = YES;
138+
CLANG_ENABLE_OBJC_WEAK = YES;
139+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
140+
CLANG_WARN_BOOL_CONVERSION = YES;
141+
CLANG_WARN_COMMA = YES;
142+
CLANG_WARN_CONSTANT_CONVERSION = YES;
143+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
144+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
145+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
146+
CLANG_WARN_EMPTY_BODY = YES;
147+
CLANG_WARN_ENUM_CONVERSION = YES;
148+
CLANG_WARN_INFINITE_RECURSION = YES;
149+
CLANG_WARN_INT_CONVERSION = YES;
150+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
151+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
152+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
153+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
154+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
155+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
156+
CLANG_WARN_STRICT_PROTOTYPES = YES;
157+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
158+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
159+
CLANG_WARN_UNREACHABLE_CODE = YES;
160+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
161+
COPY_PHASE_STRIP = NO;
162+
DEBUG_INFORMATION_FORMAT = dwarf;
163+
ENABLE_STRICT_OBJC_MSGSEND = YES;
164+
ENABLE_TESTABILITY = YES;
165+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
166+
GCC_C_LANGUAGE_STANDARD = gnu17;
167+
GCC_DYNAMIC_NO_PIC = NO;
168+
GCC_NO_COMMON_BLOCKS = YES;
169+
GCC_OPTIMIZATION_LEVEL = 0;
170+
GCC_PREPROCESSOR_DEFINITIONS = (
171+
"DEBUG=1",
172+
"$(inherited)",
173+
);
174+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
175+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
176+
GCC_WARN_UNDECLARED_SELECTOR = YES;
177+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
178+
GCC_WARN_UNUSED_FUNCTION = YES;
179+
GCC_WARN_UNUSED_VARIABLE = YES;
180+
IPHONEOS_DEPLOYMENT_TARGET = 18.2;
181+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
182+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
183+
MTL_FAST_MATH = YES;
184+
ONLY_ACTIVE_ARCH = YES;
185+
SDKROOT = iphoneos;
186+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
187+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
188+
};
189+
name = Debug;
190+
};
191+
686DF9CD2D38E878006582C0 /* Release */ = {
192+
isa = XCBuildConfiguration;
193+
buildSettings = {
194+
ALWAYS_SEARCH_USER_PATHS = NO;
195+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
196+
CLANG_ANALYZER_NONNULL = YES;
197+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
198+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
199+
CLANG_ENABLE_MODULES = YES;
200+
CLANG_ENABLE_OBJC_ARC = YES;
201+
CLANG_ENABLE_OBJC_WEAK = YES;
202+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
203+
CLANG_WARN_BOOL_CONVERSION = YES;
204+
CLANG_WARN_COMMA = YES;
205+
CLANG_WARN_CONSTANT_CONVERSION = YES;
206+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
207+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
208+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
209+
CLANG_WARN_EMPTY_BODY = YES;
210+
CLANG_WARN_ENUM_CONVERSION = YES;
211+
CLANG_WARN_INFINITE_RECURSION = YES;
212+
CLANG_WARN_INT_CONVERSION = YES;
213+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
214+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
215+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
216+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
217+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
218+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
219+
CLANG_WARN_STRICT_PROTOTYPES = YES;
220+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
221+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
222+
CLANG_WARN_UNREACHABLE_CODE = YES;
223+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
224+
COPY_PHASE_STRIP = NO;
225+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
226+
ENABLE_NS_ASSERTIONS = NO;
227+
ENABLE_STRICT_OBJC_MSGSEND = YES;
228+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
229+
GCC_C_LANGUAGE_STANDARD = gnu17;
230+
GCC_NO_COMMON_BLOCKS = YES;
231+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
232+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
233+
GCC_WARN_UNDECLARED_SELECTOR = YES;
234+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
235+
GCC_WARN_UNUSED_FUNCTION = YES;
236+
GCC_WARN_UNUSED_VARIABLE = YES;
237+
IPHONEOS_DEPLOYMENT_TARGET = 18.2;
238+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
239+
MTL_ENABLE_DEBUG_INFO = NO;
240+
MTL_FAST_MATH = YES;
241+
SDKROOT = iphoneos;
242+
SWIFT_COMPILATION_MODE = wholemodule;
243+
VALIDATE_PRODUCT = YES;
244+
};
245+
name = Release;
246+
};
247+
686DF9CF2D38E878006582C0 /* Debug */ = {
248+
isa = XCBuildConfiguration;
249+
buildSettings = {
250+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
251+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
252+
CODE_SIGN_STYLE = Automatic;
253+
CURRENT_PROJECT_VERSION = 1;
254+
DEVELOPMENT_ASSET_PATHS = "\"hello-ios/Preview Content\"";
255+
ENABLE_PREVIEWS = YES;
256+
GENERATE_INFOPLIST_FILE = YES;
257+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
258+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
259+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
260+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
261+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
262+
LD_RUNPATH_SEARCH_PATHS = (
263+
"$(inherited)",
264+
"@executable_path/Frameworks",
265+
);
266+
MARKETING_VERSION = 1.0;
267+
PRODUCT_BUNDLE_IDENTIFIER = "test.hello-ios";
268+
PRODUCT_NAME = "$(TARGET_NAME)";
269+
SWIFT_EMIT_LOC_STRINGS = YES;
270+
SWIFT_VERSION = 5.0;
271+
TARGETED_DEVICE_FAMILY = "1,2";
272+
};
273+
name = Debug;
274+
};
275+
686DF9D02D38E878006582C0 /* Release */ = {
276+
isa = XCBuildConfiguration;
277+
buildSettings = {
278+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
279+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
280+
CODE_SIGN_STYLE = Automatic;
281+
CURRENT_PROJECT_VERSION = 1;
282+
DEVELOPMENT_ASSET_PATHS = "\"hello-ios/Preview Content\"";
283+
ENABLE_PREVIEWS = YES;
284+
GENERATE_INFOPLIST_FILE = YES;
285+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
286+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
287+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
288+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
289+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
290+
LD_RUNPATH_SEARCH_PATHS = (
291+
"$(inherited)",
292+
"@executable_path/Frameworks",
293+
);
294+
MARKETING_VERSION = 1.0;
295+
PRODUCT_BUNDLE_IDENTIFIER = "test.hello-ios";
296+
PRODUCT_NAME = "$(TARGET_NAME)";
297+
SWIFT_EMIT_LOC_STRINGS = YES;
298+
SWIFT_VERSION = 5.0;
299+
TARGETED_DEVICE_FAMILY = "1,2";
300+
};
301+
name = Release;
302+
};
303+
/* End XCBuildConfiguration section */
304+
305+
/* Begin XCConfigurationList section */
306+
686DF9BB2D38E876006582C0 /* Build configuration list for PBXProject "hello-ios" */ = {
307+
isa = XCConfigurationList;
308+
buildConfigurations = (
309+
686DF9CC2D38E878006582C0 /* Debug */,
310+
686DF9CD2D38E878006582C0 /* Release */,
311+
);
312+
defaultConfigurationIsVisible = 0;
313+
defaultConfigurationName = Release;
314+
};
315+
686DF9CE2D38E878006582C0 /* Build configuration list for PBXNativeTarget "hello-ios" */ = {
316+
isa = XCConfigurationList;
317+
buildConfigurations = (
318+
686DF9CF2D38E878006582C0 /* Debug */,
319+
686DF9D02D38E878006582C0 /* Release */,
320+
);
321+
defaultConfigurationIsVisible = 0;
322+
defaultConfigurationName = Release;
323+
};
324+
/* End XCConfigurationList section */
325+
};
326+
rootObject = 686DF9B82D38E876006582C0 /* Project object */;
327+
}

swift/ql/integration-tests/osx/hello-ios/hello-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"platform" : "ios",
6+
"size" : "1024x1024"
7+
},
8+
{
9+
"appearances" : [
10+
{
11+
"appearance" : "luminosity",
12+
"value" : "dark"
13+
}
14+
],
15+
"idiom" : "universal",
16+
"platform" : "ios",
17+
"size" : "1024x1024"
18+
},
19+
{
20+
"appearances" : [
21+
{
22+
"appearance" : "luminosity",
23+
"value" : "tinted"
24+
}
25+
],
26+
"idiom" : "universal",
27+
"platform" : "ios",
28+
"size" : "1024x1024"
29+
}
30+
],
31+
"info" : {
32+
"author" : "xcode",
33+
"version" : 1
34+
}
35+
}

0 commit comments

Comments
 (0)