Skip to content

Commit eb3c6fd

Browse files
YangSen-qnYangSen-qn
andauthored
add swift demo (#458)
Co-authored-by: YangSen-qn <[email protected]>
1 parent fcc273c commit eb3c6fd

File tree

13 files changed

+818
-10
lines changed

13 files changed

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

QiniuDemo-Swift/QiniuDemoSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)