diff --git a/SDWebImage.xcodeproj/project.pbxproj b/SDWebImage.xcodeproj/project.pbxproj
index f2e93bc1..481232e4 100644
--- a/SDWebImage.xcodeproj/project.pbxproj
+++ b/SDWebImage.xcodeproj/project.pbxproj
@@ -6,6 +6,21 @@
objectVersion = 46;
objects = {
+/* Begin PBXAggregateTarget section */
+ 326CA50C22BA14EF0033A92F /* SDWebImage XCFramework */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 326CA50F22BA14EF0033A92F /* Build configuration list for PBXAggregateTarget "SDWebImage XCFramework" */;
+ buildPhases = (
+ 326CA51322BA1A270033A92F /* Build Frameworks */,
+ 326CA51422BA25F70033A92F /* Create XCFramework */,
+ );
+ dependencies = (
+ );
+ name = "SDWebImage XCFramework";
+ productName = "SDWebImage XCFramework";
+ };
+/* End PBXAggregateTarget section */
+
/* Begin PBXBuildFile section */
320CAE172086F50500CFFC80 /* SDWebImageError.h in Headers */ = {isa = PBXBuildFile; fileRef = 320CAE132086F50500CFFC80 /* SDWebImageError.h */; settings = {ATTRIBUTES = (Public, ); }; };
320CAE1B2086F50500CFFC80 /* SDWebImageError.m in Sources */ = {isa = PBXBuildFile; fileRef = 320CAE142086F50500CFFC80 /* SDWebImageError.m */; };
@@ -906,6 +921,10 @@
LastUpgradeCheck = 0940;
ORGANIZATIONNAME = Dailymotion;
TargetAttributes = {
+ 326CA50C22BA14EF0033A92F = {
+ CreatedOnToolsVersion = 11.0;
+ ProvisioningStyle = Automatic;
+ };
4A2CADFE1AB4BB5300B6BC39 = {
CreatedOnToolsVersion = 6.3;
};
@@ -927,6 +946,7 @@
53761307155AD0D5005750A4 /* SDWebImage static */,
4A2CADFE1AB4BB5300B6BC39 /* SDWebImage */,
80B6DF862142B71600BCB334 /* SDWebImageMapKit */,
+ 326CA50C22BA14EF0033A92F /* SDWebImage XCFramework */,
);
};
/* End PBXProject section */
@@ -948,6 +968,60 @@
};
/* End PBXResourcesBuildPhase section */
+/* Begin PBXShellScriptBuildPhase section */
+ 326CA51322BA1A270033A92F /* Build Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ name = "Build Frameworks";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(SRCROOT)/build/iphoneos/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/iphonesimulator/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/macosx/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/appletvos/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/appletvsimulator/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/watchos/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/watchsimulator/SDWebImage.xcarchive",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "mkdir -p $(SRCROOT)/build\ndeclare -a PLATFORMS=(\"iphoneos\" \"iphonesimulator\" \"macosx\" \"appletvos\" \"appletvsimulator\" \"watchos\" \"watchsimulator\")\nfor CURRENT_PLATFORM in \"${PLATFORMS[@]}\"\ndo\nxcodebuild archive -sdk \"${CURRENT_PLATFORM}\" -scheme SDWebImage -archivePath \"${SRCROOT}/build/${CURRENT_PLATFORM}/SDWebImage.xcarchive\" SKIP_INSTALL=NO\ndone\n";
+ };
+ 326CA51422BA25F70033A92F /* Create XCFramework */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "$(SRCROOT)/build/iphoneos/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/iphonesimulator/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/macosx/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/appletvos/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/appletvsimulator/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/watchos/SDWebImage.xcarchive",
+ "$(SRCROOT)/build/watchsimulator/SDWebImage.xcarchive",
+ );
+ name = "Create XCFramework";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(SRCROOT)/build/SDWebImage.xcframework",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "declare -a PLATFORMS=(\"iphoneos\" \"iphonesimulator\" \"macosx\" \"appletvos\" \"appletvsimulator\" \"watchos\" \"watchsimulator\")\nCOMMAND_ARGS=\"\"\nfor CURRENT_PLATFORM in \"${PLATFORMS[@]}\"\ndo\nCOMMAND_ARGS=\"${COMMAND_ARGS} -framework ${SRCROOT}/build/${CURRENT_PLATFORM}/SDWebImage.xcarchive/Products/Library/Frameworks/SDWebImage.framework\"\ndone\nxcodebuild -create-xcframework $COMMAND_ARGS -output \"${SRCROOT}/build/SDWebImage.xcframework\"\nopen -a Finder \"${SRCROOT}/build/SDWebImage.xcframework\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
/* Begin PBXSourcesBuildPhase section */
4A2CADFA1AB4BB5300B6BC39 /* Sources */ = {
isa = PBXSourcesBuildPhase;
@@ -1094,6 +1168,22 @@
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
+ 326CA50D22BA14EF0033A92F /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 326CA50E22BA14EF0033A92F /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
4A2CAE131AB4BB5400B6BC39 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -1163,6 +1253,15 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
+ 326CA50F22BA14EF0033A92F /* Build configuration list for PBXAggregateTarget "SDWebImage XCFramework" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 326CA50D22BA14EF0033A92F /* Debug */,
+ 326CA50E22BA14EF0033A92F /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
4A2CAE121AB4BB5400B6BC39 /* Build configuration list for PBXNativeTarget "SDWebImage" */ = {
isa = XCConfigurationList;
buildConfigurations = (
diff --git a/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage XCFramework.xcscheme b/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage XCFramework.xcscheme
new file mode 100644
index 00000000..c8f654d9
--- /dev/null
+++ b/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage XCFramework.xcscheme
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage.xcscheme b/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage.xcscheme
index 0593868e..038cdd36 100644
--- a/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage.xcscheme
+++ b/SDWebImage.xcodeproj/xcshareddata/xcschemes/SDWebImage.xcscheme
@@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
-
-
-
-