diff --git a/Package.swift b/Package.swift index f55b243..e14a6aa 100644 --- a/Package.swift +++ b/Package.swift @@ -25,7 +25,8 @@ let package = Package( .target( name: "SDWebImageSwiftUI", dependencies: ["SDWebImage"], - path: "SDWebImageSwiftUI/Classes", + path: "SDWebImageSwiftUI", + sources: ["Classes"], resources: [.copy("Resources/PrivacyInfo.xcprivacy")] ), ] diff --git a/SDWebImageSwiftUI.podspec b/SDWebImageSwiftUI.podspec index 0af3d34..0983512 100644 --- a/SDWebImageSwiftUI.podspec +++ b/SDWebImageSwiftUI.podspec @@ -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' diff --git a/SDWebImageSwiftUI.xcodeproj/project.pbxproj b/SDWebImageSwiftUI.xcodeproj/project.pbxproj index 3c1095c..4561eb4 100644 --- a/SDWebImageSwiftUI.xcodeproj/project.pbxproj +++ b/SDWebImageSwiftUI.xcodeproj/project.pbxproj @@ -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 = ""; }; 32D26A012446B546005905DA /* Image.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Image.swift; sourceTree = ""; }; 32ED4825242A13030053338E /* ImageManagerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageManagerTests.swift; sourceTree = ""; }; - 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; + 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; /* 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 = ""; }; - 32FFFE6F2BDF97FB005D0719 /* Resources */ = { + 32FFFE762BDF9CFD005D0719 /* Resources */ = { isa = PBXGroup; children = ( - 32FFFE702BDF97FB005D0719 /* PrivacyInfo.xcprivacy */, + 32FFFE772BDF9CFD005D0719 /* PrivacyInfo.xcprivacy */, ); path = Resources; - sourceTree = SOURCE_ROOT; + sourceTree = ""; }; /* 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; }; diff --git a/SDWebImageSwiftUI/Assets/.gitkeep b/SDWebImageSwiftUI/Assets/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Resources/PrivacyInfo.xcprivacy b/SDWebImageSwiftUI/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from Resources/PrivacyInfo.xcprivacy rename to SDWebImageSwiftUI/Resources/PrivacyInfo.xcprivacy