Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
387 changes: 387 additions & 0 deletions QiniuDemo-Swift/QiniuDemoSwift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,387 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 77;
objects = {

/* Begin PBXBuildFile section */
4569A29E2E814832009FA0A8 /* ZLPhotoBrowser in Frameworks */ = {isa = PBXBuildFile; productRef = 4569A29D2E814832009FA0A8 /* ZLPhotoBrowser */; };
45BE9DE62E813E500075ED7F /* Qiniu in Frameworks */ = {isa = PBXBuildFile; productRef = 45BE9DE52E813E500075ED7F /* Qiniu */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
45BE9DCC2E813E200075ED7F /* QiniuDemoSwift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = QiniuDemoSwift.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
45BE9DDE2E813E210075ED7F /* Exceptions for "QiniuDemoSwift" folder in "QiniuDemoSwift" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
Info.plist,
);
target = 45BE9DCB2E813E200075ED7F /* QiniuDemoSwift */;
};
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */

/* Begin PBXFileSystemSynchronizedRootGroup section */
45BE9DCE2E813E200075ED7F /* QiniuDemoSwift */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
45BE9DDE2E813E210075ED7F /* Exceptions for "QiniuDemoSwift" folder in "QiniuDemoSwift" target */,
);
path = QiniuDemoSwift;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */

/* Begin PBXFrameworksBuildPhase section */
45BE9DC92E813E200075ED7F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4569A29E2E814832009FA0A8 /* ZLPhotoBrowser in Frameworks */,
45BE9DE62E813E500075ED7F /* Qiniu in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
45BE9DC32E813E200075ED7F = {
isa = PBXGroup;
children = (
45BE9DCE2E813E200075ED7F /* QiniuDemoSwift */,
45BE9DCD2E813E200075ED7F /* Products */,
);
sourceTree = "<group>";
};
45BE9DCD2E813E200075ED7F /* Products */ = {
isa = PBXGroup;
children = (
45BE9DCC2E813E200075ED7F /* QiniuDemoSwift.app */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
45BE9DCB2E813E200075ED7F /* QiniuDemoSwift */ = {
isa = PBXNativeTarget;
buildConfigurationList = 45BE9DDF2E813E210075ED7F /* Build configuration list for PBXNativeTarget "QiniuDemoSwift" */;
buildPhases = (
45BE9DC82E813E200075ED7F /* Sources */,
45BE9DC92E813E200075ED7F /* Frameworks */,
45BE9DCA2E813E200075ED7F /* Resources */,
);
buildRules = (
);
dependencies = (
);
fileSystemSynchronizedGroups = (
45BE9DCE2E813E200075ED7F /* QiniuDemoSwift */,
);
name = QiniuDemoSwift;
packageProductDependencies = (
45BE9DE52E813E500075ED7F /* Qiniu */,
4569A29D2E814832009FA0A8 /* ZLPhotoBrowser */,
);
productName = QiniuDemoSwift;
productReference = 45BE9DCC2E813E200075ED7F /* QiniuDemoSwift.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
45BE9DC42E813E200075ED7F /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1630;
LastUpgradeCheck = 1630;
TargetAttributes = {
45BE9DCB2E813E200075ED7F = {
CreatedOnToolsVersion = 16.3;
};
};
};
buildConfigurationList = 45BE9DC72E813E200075ED7F /* Build configuration list for PBXProject "QiniuDemoSwift" */;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 45BE9DC32E813E200075ED7F;
minimizedProjectReferenceProxies = 1;
packageReferences = (
45BE9DE42E813E500075ED7F /* XCRemoteSwiftPackageReference "objc-sdk" */,
4569A29C2E814832009FA0A8 /* XCRemoteSwiftPackageReference "ZLPhotoBrowser" */,
);
preferredProjectObjectVersion = 77;
productRefGroup = 45BE9DCD2E813E200075ED7F /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
45BE9DCB2E813E200075ED7F /* QiniuDemoSwift */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
45BE9DCA2E813E200075ED7F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
45BE9DC82E813E200075ED7F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
45BE9DE02E813E210075ED7F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = W2TP34G2MM;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The DEVELOPMENT_TEAM is hardcoded. This makes it difficult for other developers to build the project, as they would need to manually change this ID to their own. It is recommended to configure this setting to use automatic signing in Xcode, which avoids committing team-specific information to the repository.

GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QiniuDemoSwift/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.qiniu.demo.QiniuDemoSwift;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
45BE9DE12E813E210075ED7F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = W2TP34G2MM;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QiniuDemoSwift/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.qiniu.demo.QiniuDemoSwift;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
45BE9DE22E813E210075ED7F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = W2TP34G2MM;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 18.4;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The IPHONEOS_DEPLOYMENT_TARGET is set to 18.4, which is likely a beta or unreleased version of iOS. This will severely limit the devices on which the demo can run. It's recommended to lower this to a more widely adopted version (e.g., 14.0) to ensure the demo is accessible to more users, unless a feature specific to iOS 18.4 is required.

				IPHONEOS_DEPLOYMENT_TARGET = 14.0;

LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
45BE9DE32E813E210075ED7F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = W2TP34G2MM;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 18.4;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
45BE9DC72E813E200075ED7F /* Build configuration list for PBXProject "QiniuDemoSwift" */ = {
isa = XCConfigurationList;
buildConfigurations = (
45BE9DE22E813E210075ED7F /* Debug */,
45BE9DE32E813E210075ED7F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
45BE9DDF2E813E210075ED7F /* Build configuration list for PBXNativeTarget "QiniuDemoSwift" */ = {
isa = XCConfigurationList;
buildConfigurations = (
45BE9DE02E813E210075ED7F /* Debug */,
45BE9DE12E813E210075ED7F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
4569A29C2E814832009FA0A8 /* XCRemoteSwiftPackageReference "ZLPhotoBrowser" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/longitachi/ZLPhotoBrowser";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 4.7.0;
};
};
45BE9DE42E813E500075ED7F /* XCRemoteSwiftPackageReference "objc-sdk" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/qiniu/objc-sdk";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 8.9.2;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
4569A29D2E814832009FA0A8 /* ZLPhotoBrowser */ = {
isa = XCSwiftPackageProductDependency;
package = 4569A29C2E814832009FA0A8 /* XCRemoteSwiftPackageReference "ZLPhotoBrowser" */;
productName = ZLPhotoBrowser;
};
45BE9DE52E813E500075ED7F /* Qiniu */ = {
isa = XCSwiftPackageProductDependency;
package = 45BE9DE42E813E500075ED7F /* XCRemoteSwiftPackageReference "objc-sdk" */;
productName = Qiniu;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 45BE9DC42E813E200075ED7F /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading