Commit 1ac35d72 by wanggang

add framework component

parent 40e1d733
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
//
// WXDownloadingComponent.h
// WXDownloadingComponent
//
// Created by Davinci.Pi on 2020/3/6.
// Copyright © 2020 Davinci.Pi. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for WXDownloadingComponent.
FOUNDATION_EXPORT double WXDownloadingComponentVersionNumber;
//! Project version string for WXDownloadingComponent.
FOUNDATION_EXPORT const unsigned char WXDownloadingComponentVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <WXDownloadingComponent/PublicHeader.h>
...@@ -33,9 +33,36 @@ ...@@ -33,9 +33,36 @@
73904746241132A500181090 /* SVProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = 73904740241132A500181090 /* SVProgressHUD.m */; }; 73904746241132A500181090 /* SVProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = 73904740241132A500181090 /* SVProgressHUD.m */; };
73904747241132A500181090 /* SVIndefiniteAnimatedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 73904741241132A500181090 /* SVIndefiniteAnimatedView.m */; }; 73904747241132A500181090 /* SVIndefiniteAnimatedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 73904741241132A500181090 /* SVIndefiniteAnimatedView.m */; };
73904748241132A500181090 /* SVProgressHUD.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 73904742241132A500181090 /* SVProgressHUD.bundle */; }; 73904748241132A500181090 /* SVProgressHUD.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 73904742241132A500181090 /* SVProgressHUD.bundle */; };
739047522411E2C900181090 /* WXDownloadingComponent.h in Headers */ = {isa = PBXBuildFile; fileRef = 739047502411E2C900181090 /* WXDownloadingComponent.h */; settings = {ATTRIBUTES = (Public, ); }; };
739047552411E2C900181090 /* WXDownloadingComponent.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7390474E2411E2C900181090 /* WXDownloadingComponent.framework */; };
739047562411E2C900181090 /* WXDownloadingComponent.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7390474E2411E2C900181090 /* WXDownloadingComponent.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
97F24A813790E781DD8D3E24 /* libPods-WXDownloadingKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F16F2A5BF0ED88360672BBEA /* libPods-WXDownloadingKit.a */; }; 97F24A813790E781DD8D3E24 /* libPods-WXDownloadingKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F16F2A5BF0ED88360672BBEA /* libPods-WXDownloadingKit.a */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
739047532411E2C900181090 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 739046932410DB7800181090 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 7390474D2411E2C900181090;
remoteInfo = WXDownloadingComponent;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
7390475A2411E2C900181090 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
739047562411E2C900181090 /* WXDownloadingComponent.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
354CD71A61D824D9FE34B4EB /* Pods-WXDownloadingKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WXDownloadingKit.debug.xcconfig"; path = "Target Support Files/Pods-WXDownloadingKit/Pods-WXDownloadingKit.debug.xcconfig"; sourceTree = "<group>"; }; 354CD71A61D824D9FE34B4EB /* Pods-WXDownloadingKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WXDownloadingKit.debug.xcconfig"; path = "Target Support Files/Pods-WXDownloadingKit/Pods-WXDownloadingKit.debug.xcconfig"; sourceTree = "<group>"; };
7390469B2410DB7800181090 /* WXDownloadingKit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WXDownloadingKit.app; sourceTree = BUILT_PRODUCTS_DIR; }; 7390469B2410DB7800181090 /* WXDownloadingKit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WXDownloadingKit.app; sourceTree = BUILT_PRODUCTS_DIR; };
...@@ -88,6 +115,9 @@ ...@@ -88,6 +115,9 @@
73904741241132A500181090 /* SVIndefiniteAnimatedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVIndefiniteAnimatedView.m; sourceTree = "<group>"; }; 73904741241132A500181090 /* SVIndefiniteAnimatedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVIndefiniteAnimatedView.m; sourceTree = "<group>"; };
73904742241132A500181090 /* SVProgressHUD.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = SVProgressHUD.bundle; sourceTree = "<group>"; }; 73904742241132A500181090 /* SVProgressHUD.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = SVProgressHUD.bundle; sourceTree = "<group>"; };
73904743241132A500181090 /* SVProgressAnimatedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVProgressAnimatedView.h; sourceTree = "<group>"; }; 73904743241132A500181090 /* SVProgressAnimatedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVProgressAnimatedView.h; sourceTree = "<group>"; };
7390474E2411E2C900181090 /* WXDownloadingComponent.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WXDownloadingComponent.framework; sourceTree = BUILT_PRODUCTS_DIR; };
739047502411E2C900181090 /* WXDownloadingComponent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WXDownloadingComponent.h; sourceTree = "<group>"; };
739047512411E2C900181090 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DC9D69E9DD9A36A281DF75C0 /* Pods-WXDownloadingKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WXDownloadingKit.release.xcconfig"; path = "Target Support Files/Pods-WXDownloadingKit/Pods-WXDownloadingKit.release.xcconfig"; sourceTree = "<group>"; }; DC9D69E9DD9A36A281DF75C0 /* Pods-WXDownloadingKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WXDownloadingKit.release.xcconfig"; path = "Target Support Files/Pods-WXDownloadingKit/Pods-WXDownloadingKit.release.xcconfig"; sourceTree = "<group>"; };
F16F2A5BF0ED88360672BBEA /* libPods-WXDownloadingKit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-WXDownloadingKit.a"; sourceTree = BUILT_PRODUCTS_DIR; }; F16F2A5BF0ED88360672BBEA /* libPods-WXDownloadingKit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-WXDownloadingKit.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */ /* End PBXFileReference section */
...@@ -97,10 +127,18 @@ ...@@ -97,10 +127,18 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
739047552411E2C900181090 /* WXDownloadingComponent.framework in Frameworks */,
97F24A813790E781DD8D3E24 /* libPods-WXDownloadingKit.a in Frameworks */, 97F24A813790E781DD8D3E24 /* libPods-WXDownloadingKit.a in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
7390474B2411E2C900181090 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
...@@ -117,6 +155,7 @@ ...@@ -117,6 +155,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
7390469D2410DB7800181090 /* WXDownloadingKit */, 7390469D2410DB7800181090 /* WXDownloadingKit */,
7390474F2411E2C900181090 /* WXDownloadingComponent */,
7390469C2410DB7800181090 /* Products */, 7390469C2410DB7800181090 /* Products */,
6D74B1ABE25E8489EB8C95A8 /* Pods */, 6D74B1ABE25E8489EB8C95A8 /* Pods */,
9830ADB90BD17C5151D8CEF1 /* Frameworks */, 9830ADB90BD17C5151D8CEF1 /* Frameworks */,
...@@ -127,6 +166,7 @@ ...@@ -127,6 +166,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
7390469B2410DB7800181090 /* WXDownloadingKit.app */, 7390469B2410DB7800181090 /* WXDownloadingKit.app */,
7390474E2411E2C900181090 /* WXDownloadingComponent.framework */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -259,6 +299,15 @@ ...@@ -259,6 +299,15 @@
path = SVProgressHUD; path = SVProgressHUD;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
7390474F2411E2C900181090 /* WXDownloadingComponent */ = {
isa = PBXGroup;
children = (
739047502411E2C900181090 /* WXDownloadingComponent.h */,
739047512411E2C900181090 /* Info.plist */,
);
path = WXDownloadingComponent;
sourceTree = "<group>";
};
9830ADB90BD17C5151D8CEF1 /* Frameworks */ = { 9830ADB90BD17C5151D8CEF1 /* Frameworks */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -269,6 +318,17 @@ ...@@ -269,6 +318,17 @@
}; };
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
739047492411E2C900181090 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
739047522411E2C900181090 /* WXDownloadingComponent.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
7390469A2410DB7800181090 /* WXDownloadingKit */ = { 7390469A2410DB7800181090 /* WXDownloadingKit */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
...@@ -278,16 +338,36 @@ ...@@ -278,16 +338,36 @@
739046972410DB7800181090 /* Sources */, 739046972410DB7800181090 /* Sources */,
739046982410DB7800181090 /* Frameworks */, 739046982410DB7800181090 /* Frameworks */,
739046992410DB7800181090 /* Resources */, 739046992410DB7800181090 /* Resources */,
7390475A2411E2C900181090 /* Embed Frameworks */,
); );
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
739047542411E2C900181090 /* PBXTargetDependency */,
); );
name = WXDownloadingKit; name = WXDownloadingKit;
productName = WXDownloadingKit; productName = WXDownloadingKit;
productReference = 7390469B2410DB7800181090 /* WXDownloadingKit.app */; productReference = 7390469B2410DB7800181090 /* WXDownloadingKit.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
7390474D2411E2C900181090 /* WXDownloadingComponent */ = {
isa = PBXNativeTarget;
buildConfigurationList = 739047572411E2C900181090 /* Build configuration list for PBXNativeTarget "WXDownloadingComponent" */;
buildPhases = (
739047492411E2C900181090 /* Headers */,
7390474A2411E2C900181090 /* Sources */,
7390474B2411E2C900181090 /* Frameworks */,
7390474C2411E2C900181090 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = WXDownloadingComponent;
productName = WXDownloadingComponent;
productReference = 7390474E2411E2C900181090 /* WXDownloadingComponent.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */
/* Begin PBXProject section */ /* Begin PBXProject section */
...@@ -300,6 +380,9 @@ ...@@ -300,6 +380,9 @@
7390469A2410DB7800181090 = { 7390469A2410DB7800181090 = {
CreatedOnToolsVersion = 11.3.1; CreatedOnToolsVersion = 11.3.1;
}; };
7390474D2411E2C900181090 = {
CreatedOnToolsVersion = 11.3.1;
};
}; };
}; };
buildConfigurationList = 739046962410DB7800181090 /* Build configuration list for PBXProject "WXDownloadingKit" */; buildConfigurationList = 739046962410DB7800181090 /* Build configuration list for PBXProject "WXDownloadingKit" */;
...@@ -316,6 +399,7 @@ ...@@ -316,6 +399,7 @@
projectRoot = ""; projectRoot = "";
targets = ( targets = (
7390469A2410DB7800181090 /* WXDownloadingKit */, 7390469A2410DB7800181090 /* WXDownloadingKit */,
7390474D2411E2C900181090 /* WXDownloadingComponent */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
...@@ -332,6 +416,13 @@ ...@@ -332,6 +416,13 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
7390474C2411E2C900181090 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
...@@ -389,8 +480,23 @@ ...@@ -389,8 +480,23 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
7390474A2411E2C900181090 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
739047542411E2C900181090 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7390474D2411E2C900181090 /* WXDownloadingComponent */;
targetProxy = 739047532411E2C900181090 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */ /* Begin PBXVariantGroup section */
739046A72410DB7800181090 /* Main.storyboard */ = { 739046A72410DB7800181090 /* Main.storyboard */ = {
isa = PBXVariantGroup; isa = PBXVariantGroup;
...@@ -559,6 +665,56 @@ ...@@ -559,6 +665,56 @@
}; };
name = Release; name = Release;
}; };
739047582411E2C900181090 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = WXDownloadingComponent/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = Davinci.Pi.WXDownloadingComponent;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
739047592411E2C900181090 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = WXDownloadingComponent/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = Davinci.Pi.WXDownloadingComponent;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
/* End XCBuildConfiguration section */ /* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ /* Begin XCConfigurationList section */
...@@ -580,6 +736,15 @@ ...@@ -580,6 +736,15 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
739047572411E2C900181090 /* Build configuration list for PBXNativeTarget "WXDownloadingComponent" */ = {
isa = XCConfigurationList;
buildConfigurations = (
739047582411E2C900181090 /* Debug */,
739047592411E2C900181090 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */ /* End XCConfigurationList section */
}; };
rootObject = 739046932410DB7800181090 /* Project object */; rootObject = 739046932410DB7800181090 /* Project object */;
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
<dict> <dict>
<key>SchemeUserState</key> <key>SchemeUserState</key>
<dict> <dict>
<key>WXDownloadingComponent.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>5</integer>
</dict>
<key>WXDownloadingKit.xcscheme_^#shared#^_</key> <key>WXDownloadingKit.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment