Skip to content

Commit d758bcf

Browse files
committed
add example app
1 parent 28b3a6f commit d758bcf

File tree

28 files changed

+1092
-3
lines changed

28 files changed

+1092
-3
lines changed
+377
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,377 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 55;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
4C14421B2716A7F50093F201 /* ExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C14421A2716A7F50093F201 /* ExampleApp.swift */; };
11+
4C14421D2716A7F50093F201 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C14421C2716A7F50093F201 /* ContentView.swift */; };
12+
4C14421F2716A7FA0093F201 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C14421E2716A7FA0093F201 /* Assets.xcassets */; };
13+
4C1442222716A7FA0093F201 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C1442212716A7FA0093F201 /* Preview Assets.xcassets */; };
14+
4C14422A2716AAEB0093F201 /* nodejs-ios in Frameworks */ = {isa = PBXBuildFile; productRef = 4C1442292716AAEB0093F201 /* nodejs-ios */; };
15+
4C14422D2716AC880093F201 /* nodejs-project in Resources */ = {isa = PBXBuildFile; fileRef = 4C14422C2716AC870093F201 /* nodejs-project */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXFileReference section */
19+
4C1442172716A7F50093F201 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
20+
4C14421A2716A7F50093F201 /* ExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleApp.swift; sourceTree = "<group>"; };
21+
4C14421C2716A7F50093F201 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
22+
4C14421E2716A7FA0093F201 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
23+
4C1442212716A7FA0093F201 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
24+
4C14422C2716AC870093F201 /* nodejs-project */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "nodejs-project"; sourceTree = SOURCE_ROOT; };
25+
/* End PBXFileReference section */
26+
27+
/* Begin PBXFrameworksBuildPhase section */
28+
4C1442142716A7F50093F201 /* Frameworks */ = {
29+
isa = PBXFrameworksBuildPhase;
30+
buildActionMask = 2147483647;
31+
files = (
32+
4C14422A2716AAEB0093F201 /* nodejs-ios in Frameworks */,
33+
);
34+
runOnlyForDeploymentPostprocessing = 0;
35+
};
36+
/* End PBXFrameworksBuildPhase section */
37+
38+
/* Begin PBXGroup section */
39+
4C14420E2716A7F50093F201 = {
40+
isa = PBXGroup;
41+
children = (
42+
4C1442192716A7F50093F201 /* Example */,
43+
4C1442182716A7F50093F201 /* Products */,
44+
);
45+
sourceTree = "<group>";
46+
};
47+
4C1442182716A7F50093F201 /* Products */ = {
48+
isa = PBXGroup;
49+
children = (
50+
4C1442172716A7F50093F201 /* Example.app */,
51+
);
52+
name = Products;
53+
sourceTree = "<group>";
54+
};
55+
4C1442192716A7F50093F201 /* Example */ = {
56+
isa = PBXGroup;
57+
children = (
58+
4C14422C2716AC870093F201 /* nodejs-project */,
59+
4C14421A2716A7F50093F201 /* ExampleApp.swift */,
60+
4C14421C2716A7F50093F201 /* ContentView.swift */,
61+
4C14421E2716A7FA0093F201 /* Assets.xcassets */,
62+
4C1442202716A7FA0093F201 /* Preview Content */,
63+
);
64+
path = Example;
65+
sourceTree = "<group>";
66+
};
67+
4C1442202716A7FA0093F201 /* Preview Content */ = {
68+
isa = PBXGroup;
69+
children = (
70+
4C1442212716A7FA0093F201 /* Preview Assets.xcassets */,
71+
);
72+
path = "Preview Content";
73+
sourceTree = "<group>";
74+
};
75+
/* End PBXGroup section */
76+
77+
/* Begin PBXNativeTarget section */
78+
4C1442162716A7F50093F201 /* Example */ = {
79+
isa = PBXNativeTarget;
80+
buildConfigurationList = 4C1442252716A7FA0093F201 /* Build configuration list for PBXNativeTarget "Example" */;
81+
buildPhases = (
82+
4C1442132716A7F50093F201 /* Sources */,
83+
4C1442142716A7F50093F201 /* Frameworks */,
84+
4C1442152716A7F50093F201 /* Resources */,
85+
);
86+
buildRules = (
87+
);
88+
dependencies = (
89+
);
90+
name = Example;
91+
packageProductDependencies = (
92+
4C1442292716AAEB0093F201 /* nodejs-ios */,
93+
);
94+
productName = Example;
95+
productReference = 4C1442172716A7F50093F201 /* Example.app */;
96+
productType = "com.apple.product-type.application";
97+
};
98+
/* End PBXNativeTarget section */
99+
100+
/* Begin PBXProject section */
101+
4C14420F2716A7F50093F201 /* Project object */ = {
102+
isa = PBXProject;
103+
attributes = {
104+
BuildIndependentTargetsInParallel = 1;
105+
LastSwiftUpdateCheck = 1300;
106+
LastUpgradeCheck = 1300;
107+
TargetAttributes = {
108+
4C1442162716A7F50093F201 = {
109+
CreatedOnToolsVersion = 13.0;
110+
};
111+
};
112+
};
113+
buildConfigurationList = 4C1442122716A7F50093F201 /* Build configuration list for PBXProject "Example" */;
114+
compatibilityVersion = "Xcode 13.0";
115+
developmentRegion = en;
116+
hasScannedForEncodings = 0;
117+
knownRegions = (
118+
en,
119+
Base,
120+
);
121+
mainGroup = 4C14420E2716A7F50093F201;
122+
packageReferences = (
123+
4C1442282716AAEB0093F201 /* XCRemoteSwiftPackageReference "nodejs-ios" */,
124+
);
125+
productRefGroup = 4C1442182716A7F50093F201 /* Products */;
126+
projectDirPath = "";
127+
projectRoot = "";
128+
targets = (
129+
4C1442162716A7F50093F201 /* Example */,
130+
);
131+
};
132+
/* End PBXProject section */
133+
134+
/* Begin PBXResourcesBuildPhase section */
135+
4C1442152716A7F50093F201 /* Resources */ = {
136+
isa = PBXResourcesBuildPhase;
137+
buildActionMask = 2147483647;
138+
files = (
139+
4C14422D2716AC880093F201 /* nodejs-project in Resources */,
140+
4C1442222716A7FA0093F201 /* Preview Assets.xcassets in Resources */,
141+
4C14421F2716A7FA0093F201 /* Assets.xcassets in Resources */,
142+
);
143+
runOnlyForDeploymentPostprocessing = 0;
144+
};
145+
/* End PBXResourcesBuildPhase section */
146+
147+
/* Begin PBXSourcesBuildPhase section */
148+
4C1442132716A7F50093F201 /* Sources */ = {
149+
isa = PBXSourcesBuildPhase;
150+
buildActionMask = 2147483647;
151+
files = (
152+
4C14421D2716A7F50093F201 /* ContentView.swift in Sources */,
153+
4C14421B2716A7F50093F201 /* ExampleApp.swift in Sources */,
154+
);
155+
runOnlyForDeploymentPostprocessing = 0;
156+
};
157+
/* End PBXSourcesBuildPhase section */
158+
159+
/* Begin XCBuildConfiguration section */
160+
4C1442232716A7FA0093F201 /* Debug */ = {
161+
isa = XCBuildConfiguration;
162+
buildSettings = {
163+
ALWAYS_SEARCH_USER_PATHS = NO;
164+
CLANG_ANALYZER_NONNULL = YES;
165+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
166+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
167+
CLANG_CXX_LIBRARY = "libc++";
168+
CLANG_ENABLE_MODULES = YES;
169+
CLANG_ENABLE_OBJC_ARC = YES;
170+
CLANG_ENABLE_OBJC_WEAK = YES;
171+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
172+
CLANG_WARN_BOOL_CONVERSION = YES;
173+
CLANG_WARN_COMMA = YES;
174+
CLANG_WARN_CONSTANT_CONVERSION = YES;
175+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
176+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
177+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
178+
CLANG_WARN_EMPTY_BODY = YES;
179+
CLANG_WARN_ENUM_CONVERSION = YES;
180+
CLANG_WARN_INFINITE_RECURSION = YES;
181+
CLANG_WARN_INT_CONVERSION = YES;
182+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
183+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
184+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
185+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
186+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
187+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
188+
CLANG_WARN_STRICT_PROTOTYPES = YES;
189+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
190+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
191+
CLANG_WARN_UNREACHABLE_CODE = YES;
192+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
193+
COPY_PHASE_STRIP = NO;
194+
DEBUG_INFORMATION_FORMAT = dwarf;
195+
ENABLE_STRICT_OBJC_MSGSEND = YES;
196+
ENABLE_TESTABILITY = YES;
197+
GCC_C_LANGUAGE_STANDARD = gnu11;
198+
GCC_DYNAMIC_NO_PIC = NO;
199+
GCC_NO_COMMON_BLOCKS = YES;
200+
GCC_OPTIMIZATION_LEVEL = 0;
201+
GCC_PREPROCESSOR_DEFINITIONS = (
202+
"DEBUG=1",
203+
"$(inherited)",
204+
);
205+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
206+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
207+
GCC_WARN_UNDECLARED_SELECTOR = YES;
208+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
209+
GCC_WARN_UNUSED_FUNCTION = YES;
210+
GCC_WARN_UNUSED_VARIABLE = YES;
211+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
212+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
213+
MTL_FAST_MATH = YES;
214+
ONLY_ACTIVE_ARCH = YES;
215+
SDKROOT = iphoneos;
216+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
217+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
218+
};
219+
name = Debug;
220+
};
221+
4C1442242716A7FA0093F201 /* Release */ = {
222+
isa = XCBuildConfiguration;
223+
buildSettings = {
224+
ALWAYS_SEARCH_USER_PATHS = NO;
225+
CLANG_ANALYZER_NONNULL = YES;
226+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
227+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
228+
CLANG_CXX_LIBRARY = "libc++";
229+
CLANG_ENABLE_MODULES = YES;
230+
CLANG_ENABLE_OBJC_ARC = YES;
231+
CLANG_ENABLE_OBJC_WEAK = YES;
232+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
233+
CLANG_WARN_BOOL_CONVERSION = YES;
234+
CLANG_WARN_COMMA = YES;
235+
CLANG_WARN_CONSTANT_CONVERSION = YES;
236+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
237+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
238+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
239+
CLANG_WARN_EMPTY_BODY = YES;
240+
CLANG_WARN_ENUM_CONVERSION = YES;
241+
CLANG_WARN_INFINITE_RECURSION = YES;
242+
CLANG_WARN_INT_CONVERSION = YES;
243+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
244+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
245+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
246+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
247+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
248+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
249+
CLANG_WARN_STRICT_PROTOTYPES = YES;
250+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
251+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
252+
CLANG_WARN_UNREACHABLE_CODE = YES;
253+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
254+
COPY_PHASE_STRIP = NO;
255+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
256+
ENABLE_NS_ASSERTIONS = NO;
257+
ENABLE_STRICT_OBJC_MSGSEND = YES;
258+
GCC_C_LANGUAGE_STANDARD = gnu11;
259+
GCC_NO_COMMON_BLOCKS = YES;
260+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
261+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
262+
GCC_WARN_UNDECLARED_SELECTOR = YES;
263+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
264+
GCC_WARN_UNUSED_FUNCTION = YES;
265+
GCC_WARN_UNUSED_VARIABLE = YES;
266+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
267+
MTL_ENABLE_DEBUG_INFO = NO;
268+
MTL_FAST_MATH = YES;
269+
SDKROOT = iphoneos;
270+
SWIFT_COMPILATION_MODE = wholemodule;
271+
SWIFT_OPTIMIZATION_LEVEL = "-O";
272+
VALIDATE_PRODUCT = YES;
273+
};
274+
name = Release;
275+
};
276+
4C1442262716A7FA0093F201 /* Debug */ = {
277+
isa = XCBuildConfiguration;
278+
buildSettings = {
279+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
280+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
281+
CODE_SIGN_STYLE = Automatic;
282+
CURRENT_PROJECT_VERSION = 1;
283+
DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\"";
284+
ENABLE_PREVIEWS = YES;
285+
GENERATE_INFOPLIST_FILE = YES;
286+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
287+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
288+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
289+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
290+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
291+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
292+
LD_RUNPATH_SEARCH_PATHS = (
293+
"$(inherited)",
294+
"@executable_path/Frameworks",
295+
);
296+
MARKETING_VERSION = 1.0;
297+
PRODUCT_BUNDLE_IDENTIFIER = "io.github.kewlbear.nodejs-ios.Example";
298+
PRODUCT_NAME = "$(TARGET_NAME)";
299+
SWIFT_EMIT_LOC_STRINGS = YES;
300+
SWIFT_VERSION = 5.0;
301+
TARGETED_DEVICE_FAMILY = "1,2";
302+
};
303+
name = Debug;
304+
};
305+
4C1442272716A7FA0093F201 /* Release */ = {
306+
isa = XCBuildConfiguration;
307+
buildSettings = {
308+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
309+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
310+
CODE_SIGN_STYLE = Automatic;
311+
CURRENT_PROJECT_VERSION = 1;
312+
DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\"";
313+
ENABLE_PREVIEWS = YES;
314+
GENERATE_INFOPLIST_FILE = YES;
315+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
316+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
317+
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
318+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
319+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
320+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
321+
LD_RUNPATH_SEARCH_PATHS = (
322+
"$(inherited)",
323+
"@executable_path/Frameworks",
324+
);
325+
MARKETING_VERSION = 1.0;
326+
PRODUCT_BUNDLE_IDENTIFIER = "io.github.kewlbear.nodejs-ios.Example";
327+
PRODUCT_NAME = "$(TARGET_NAME)";
328+
SWIFT_EMIT_LOC_STRINGS = YES;
329+
SWIFT_VERSION = 5.0;
330+
TARGETED_DEVICE_FAMILY = "1,2";
331+
};
332+
name = Release;
333+
};
334+
/* End XCBuildConfiguration section */
335+
336+
/* Begin XCConfigurationList section */
337+
4C1442122716A7F50093F201 /* Build configuration list for PBXProject "Example" */ = {
338+
isa = XCConfigurationList;
339+
buildConfigurations = (
340+
4C1442232716A7FA0093F201 /* Debug */,
341+
4C1442242716A7FA0093F201 /* Release */,
342+
);
343+
defaultConfigurationIsVisible = 0;
344+
defaultConfigurationName = Release;
345+
};
346+
4C1442252716A7FA0093F201 /* Build configuration list for PBXNativeTarget "Example" */ = {
347+
isa = XCConfigurationList;
348+
buildConfigurations = (
349+
4C1442262716A7FA0093F201 /* Debug */,
350+
4C1442272716A7FA0093F201 /* Release */,
351+
);
352+
defaultConfigurationIsVisible = 0;
353+
defaultConfigurationName = Release;
354+
};
355+
/* End XCConfigurationList section */
356+
357+
/* Begin XCRemoteSwiftPackageReference section */
358+
4C1442282716AAEB0093F201 /* XCRemoteSwiftPackageReference "nodejs-ios" */ = {
359+
isa = XCRemoteSwiftPackageReference;
360+
repositoryURL = "https://github.com/kewlbear/nodejs-ios.git";
361+
requirement = {
362+
branch = main;
363+
kind = branch;
364+
};
365+
};
366+
/* End XCRemoteSwiftPackageReference section */
367+
368+
/* Begin XCSwiftPackageProductDependency section */
369+
4C1442292716AAEB0093F201 /* nodejs-ios */ = {
370+
isa = XCSwiftPackageProductDependency;
371+
package = 4C1442282716AAEB0093F201 /* XCRemoteSwiftPackageReference "nodejs-ios" */;
372+
productName = "nodejs-ios";
373+
};
374+
/* End XCSwiftPackageProductDependency section */
375+
};
376+
rootObject = 4C14420F2716A7F50093F201 /* Project object */;
377+
}

Example/Example.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,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 commit comments

Comments
 (0)