Fix the privacy info path issue

This commit is contained in:
DreamPiggy 2024-04-29 17:20:09 +08:00
parent e848d648a1
commit 50b5a1ca83
5 changed files with 18 additions and 17 deletions

View File

@ -25,7 +25,8 @@ let package = Package(
.target(
name: "SDWebImageSwiftUI",
dependencies: ["SDWebImage"],
path: "SDWebImageSwiftUI/Classes",
path: "SDWebImageSwiftUI",
sources: ["Classes"],
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]
),
]

View File

@ -33,7 +33,7 @@ It brings all your favorite features from SDWebImage, like async image loading,
'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO',
}
s.resource_bundles = {
'SDWebImageSwiftUI' => ['Resources/PrivacyInfo.xcprivacy'],
'SDWebImageSwiftUI' => ['SDWebImageSwiftUI/Resources/PrivacyInfo.xcprivacy'],
}
s.weak_frameworks = 'SwiftUI', 'Combine'

View File

@ -66,11 +66,11 @@
32D26A032446B546005905DA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32D26A012446B546005905DA /* Image.swift */; };
32D26A042446B546005905DA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32D26A012446B546005905DA /* Image.swift */; };
32D26A052446B546005905DA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32D26A012446B546005905DA /* Image.swift */; };
32FFFE712BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE722BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE732BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE742BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE752BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE782BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE792BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE7A2BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE7B2BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */; };
32FFFE7C2BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@ -102,7 +102,7 @@
32CBA77E25E4D7D800C6A8DC /* ImagePlayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImagePlayer.swift; sourceTree = "<group>"; };
32D26A012446B546005905DA /* Image.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Image.swift; sourceTree = "<group>"; };
32ED4825242A13030053338E /* ImageManagerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageManagerTests.swift; sourceTree = "<group>"; };
32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -205,7 +205,7 @@
32C43DCE22FD540D00BE87F5 /* SDWebImageSwiftUI */ = {
isa = PBXGroup;
children = (
32FFFE6F2BDF97FB005D0719 /* Resources */,
32FFFE762BDF9CFD005D0719 /* Resources */,
32C43DDB22FD54C600BE87F5 /* Classes */,
);
path = SDWebImageSwiftUI;
@ -240,13 +240,13 @@
name = Frameworks;
sourceTree = "<group>";
};
32FFFE6F2BDF97FB005D0719 /* Resources */ = {
32FFFE762BDF9CFD005D0719 /* Resources */ = {
isa = PBXGroup;
children = (
32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */,
32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */,
);
path = Resources;
sourceTree = SOURCE_ROOT;
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -441,7 +441,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
32FFFE752BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
32FFFE7C2BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -449,7 +449,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
32FFFE712BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
32FFFE782BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -457,7 +457,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
32FFFE722BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
32FFFE792BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -465,7 +465,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
32FFFE732BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
32FFFE7A2BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -473,7 +473,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
32FFFE742BDF97FB005D0719 /* PrivacyInfo.xcprivacy in Resources */,
32FFFE7B2BDF9CFD005D0719 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};