Phase 3.C:Xcode 加入七牛 SPM 依赖 objc-sdk 8.9.2
按 SDK-Integration-Guide.md §A.3 操作,加入 https://github.com/qiniu/objc-sdk (传递依赖 happy-dns-objc 1.0.4 自动解析)。canImport(QiniuSDK) 现在 返回 true,QiniuUploader.upload(...) 真实路径激活。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
1d7e258130
commit
4e5600a9ee
@@ -8,6 +8,7 @@
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
1A2954622FE840DA009E703E /* ZIPFoundation in Frameworks */ = {isa = PBXBuildFile; productRef = 1A2954612FE840DA009E703E /* ZIPFoundation */; };
|
||||
1A2954DA2FE97D61009E703E /* Qiniu in Frameworks */ = {isa = PBXBuildFile; productRef = 1A2954D92FE97D61009E703E /* Qiniu */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
@@ -41,6 +42,7 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1A2954622FE840DA009E703E /* ZIPFoundation in Frameworks */,
|
||||
1A2954DA2FE97D61009E703E /* Qiniu in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -84,6 +86,7 @@
|
||||
name = ylgamehall;
|
||||
packageProductDependencies = (
|
||||
1A2954612FE840DA009E703E /* ZIPFoundation */,
|
||||
1A2954D92FE97D61009E703E /* Qiniu */,
|
||||
);
|
||||
productName = ylgamehall;
|
||||
productReference = 1A714BD22FE8047A00913338 /* ylgamehall.app */;
|
||||
@@ -115,6 +118,7 @@
|
||||
minimizedProjectReferenceProxies = 1;
|
||||
packageReferences = (
|
||||
1A2954602FE840DA009E703E /* XCRemoteSwiftPackageReference "ZIPFoundation" */,
|
||||
1A2954D82FE97D61009E703E /* XCRemoteSwiftPackageReference "objc-sdk" */,
|
||||
);
|
||||
preferredProjectObjectVersion = 77;
|
||||
productRefGroup = 1A714BD32FE8047A00913338 /* Products */;
|
||||
@@ -366,6 +370,14 @@
|
||||
minimumVersion = 0.9.20;
|
||||
};
|
||||
};
|
||||
1A2954D82FE97D61009E703E /* 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 */
|
||||
@@ -374,6 +386,11 @@
|
||||
package = 1A2954602FE840DA009E703E /* XCRemoteSwiftPackageReference "ZIPFoundation" */;
|
||||
productName = ZIPFoundation;
|
||||
};
|
||||
1A2954D92FE97D61009E703E /* Qiniu */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = 1A2954D82FE97D61009E703E /* XCRemoteSwiftPackageReference "objc-sdk" */;
|
||||
productName = Qiniu;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = 1A714BCA2FE8047A00913338 /* Project object */;
|
||||
|
||||
Reference in New Issue
Block a user