Skip to content

Commit 4fb811f

Browse files
committed
initial commit of new example app OneSignalSwiftUIExample
1 parent 9626163 commit 4fb811f

8 files changed

Lines changed: 514 additions & 0 deletions

File tree

iOS_SDK/OneSignalSDK.xcworkspace/contents.xcworkspacedata

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

0 commit comments

Comments
 (0)