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 */
|
/* Begin PBXBuildFile section */
|
||||||
1A2954622FE840DA009E703E /* ZIPFoundation in Frameworks */ = {isa = PBXBuildFile; productRef = 1A2954612FE840DA009E703E /* ZIPFoundation */; };
|
1A2954622FE840DA009E703E /* ZIPFoundation in Frameworks */ = {isa = PBXBuildFile; productRef = 1A2954612FE840DA009E703E /* ZIPFoundation */; };
|
||||||
|
1A2954DA2FE97D61009E703E /* Qiniu in Frameworks */ = {isa = PBXBuildFile; productRef = 1A2954D92FE97D61009E703E /* Qiniu */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
1A2954622FE840DA009E703E /* ZIPFoundation in Frameworks */,
|
1A2954622FE840DA009E703E /* ZIPFoundation in Frameworks */,
|
||||||
|
1A2954DA2FE97D61009E703E /* Qiniu in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@@ -84,6 +86,7 @@
|
|||||||
name = ylgamehall;
|
name = ylgamehall;
|
||||||
packageProductDependencies = (
|
packageProductDependencies = (
|
||||||
1A2954612FE840DA009E703E /* ZIPFoundation */,
|
1A2954612FE840DA009E703E /* ZIPFoundation */,
|
||||||
|
1A2954D92FE97D61009E703E /* Qiniu */,
|
||||||
);
|
);
|
||||||
productName = ylgamehall;
|
productName = ylgamehall;
|
||||||
productReference = 1A714BD22FE8047A00913338 /* ylgamehall.app */;
|
productReference = 1A714BD22FE8047A00913338 /* ylgamehall.app */;
|
||||||
@@ -115,6 +118,7 @@
|
|||||||
minimizedProjectReferenceProxies = 1;
|
minimizedProjectReferenceProxies = 1;
|
||||||
packageReferences = (
|
packageReferences = (
|
||||||
1A2954602FE840DA009E703E /* XCRemoteSwiftPackageReference "ZIPFoundation" */,
|
1A2954602FE840DA009E703E /* XCRemoteSwiftPackageReference "ZIPFoundation" */,
|
||||||
|
1A2954D82FE97D61009E703E /* XCRemoteSwiftPackageReference "objc-sdk" */,
|
||||||
);
|
);
|
||||||
preferredProjectObjectVersion = 77;
|
preferredProjectObjectVersion = 77;
|
||||||
productRefGroup = 1A714BD32FE8047A00913338 /* Products */;
|
productRefGroup = 1A714BD32FE8047A00913338 /* Products */;
|
||||||
@@ -366,6 +370,14 @@
|
|||||||
minimumVersion = 0.9.20;
|
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 */
|
/* End XCRemoteSwiftPackageReference section */
|
||||||
|
|
||||||
/* Begin XCSwiftPackageProductDependency section */
|
/* Begin XCSwiftPackageProductDependency section */
|
||||||
@@ -374,6 +386,11 @@
|
|||||||
package = 1A2954602FE840DA009E703E /* XCRemoteSwiftPackageReference "ZIPFoundation" */;
|
package = 1A2954602FE840DA009E703E /* XCRemoteSwiftPackageReference "ZIPFoundation" */;
|
||||||
productName = ZIPFoundation;
|
productName = ZIPFoundation;
|
||||||
};
|
};
|
||||||
|
1A2954D92FE97D61009E703E /* Qiniu */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = 1A2954D82FE97D61009E703E /* XCRemoteSwiftPackageReference "objc-sdk" */;
|
||||||
|
productName = Qiniu;
|
||||||
|
};
|
||||||
/* End XCSwiftPackageProductDependency section */
|
/* End XCSwiftPackageProductDependency section */
|
||||||
};
|
};
|
||||||
rootObject = 1A714BCA2FE8047A00913338 /* Project object */;
|
rootObject = 1A714BCA2FE8047A00913338 /* Project object */;
|
||||||
|
|||||||
@@ -1,6 +1,24 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "d0d4edfdf2bf3cd05b3ba2dec0af1a9c271c93f944cbba8677cc647f74a6b323",
|
"originHash" : "d048dea0a815e4cbf04c2238be9f55020a490d6849268cce3b44e9356d2c1ad6",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
|
{
|
||||||
|
"identity" : "happy-dns-objc",
|
||||||
|
"kind" : "remoteSourceControl",
|
||||||
|
"location" : "https://github.com/qiniu/happy-dns-objc",
|
||||||
|
"state" : {
|
||||||
|
"revision" : "17039cf075bbee358dfb77ed1b5e437736768692",
|
||||||
|
"version" : "1.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"identity" : "objc-sdk",
|
||||||
|
"kind" : "remoteSourceControl",
|
||||||
|
"location" : "https://github.com/qiniu/objc-sdk",
|
||||||
|
"state" : {
|
||||||
|
"revision" : "fcc273ceba0a95a57b23e5c898697c049abf9139",
|
||||||
|
"version" : "8.9.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"identity" : "zipfoundation",
|
"identity" : "zipfoundation",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
|
|||||||
Reference in New Issue
Block a user