diff --git a/.travis.yml b/.travis.yml index 1a74697..3b549f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ -osx_image: xcode10.1 +osx_image: xcode10.2 language: objective-c xcode_project: MTDemo -xcode_scheme: MessageThrottleKit -xcode_sdk: iphoneos12.1 +xcode_scheme: MessageThrottle iOS +xcode_sdk: iphoneos12.2 env: global: - - FRAMEWORK_NAME=MessageThrottleKit + - FRAMEWORK_NAME=MessageThrottle before_install: - brew update - brew outdated carthage || brew upgrade carthage @@ -21,7 +21,7 @@ deploy: provider: releases api_key: secure: arhqYQSqQ3ZCc2gZIlfQTFhea44CrohmXOIsjA5VtFcvOdJ29OMJZlimR3MD61+yJ+nxOt2107TMNqFBMGM425PQctCzPV68arVV+5393Fu5A+ewpcm/ir+ZoD5Iz8Y91Pk1vaYRVYMtFt91qFc/6Hmkm5Zgipf4gJTwOBZChGUC6EHBf1U/9b9S0+YvjFZ0rzXNnXWW72SC0wl1+mrRIAKL7pNUruI/l/2hCX54a8t0IFxrQReNbUm/k5/TYlnn24nXOmA+ezA7dTI3tYmpb2WcFUb44NjW+I9Qh5ooll8VgTDoCvBULtExaDoD79IQLEe4bKkBynqqLUnoPKIbxRCfeizoJr84BMCpuFEvuFLYcefZComvqDH6MQ92aArC2LkDmciSO6R0KbjareVVng2D/s/BO9+aJD83RTenDvDeJFGBTX9O60e3+r9Wr7r/Bx8Mwt4KoJ3K0xpFUWEkhMKfoH9XWalqS2BJww1jaFEuN82jRznWVCttOW6mfVqh8lE3B3PxPvEXJB0JdkSYA40u1yV51cQb+uY+PP6Vvvde3YgoxrCdXwbqNZHNQaxNXrk0GQ7wQlfVq3sKphIueIhK8SNTDo0JV2UgAAR1WD6NpvqqScXF8aRuFlRkOLn0uNp4XcCh8LegS6HfqBvpjwn2Q0bwTD8CgucUJFtXMD4= - file: MessageThrottleKit.framework.zip + file: MessageThrottle.framework.zip skip_cleanup: true on: repo: yulingtianxia/MessageThrottle diff --git a/MTDemo/MTDemo.xcodeproj/project.pbxproj b/MTDemo/MTDemo.xcodeproj/project.pbxproj index 6edd738..0be5156 100644 --- a/MTDemo/MTDemo.xcodeproj/project.pbxproj +++ b/MTDemo/MTDemo.xcodeproj/project.pbxproj @@ -11,7 +11,6 @@ A4092CE21FAAFB2F00F6935B /* SuperStub.m in Sources */ = {isa = PBXBuildFile; fileRef = A4092CE11FAAFB2F00F6935B /* SuperStub.m */; }; A4371D79210F2A9E00153E3C /* SuperStub.m in Sources */ = {isa = PBXBuildFile; fileRef = A4092CE11FAAFB2F00F6935B /* SuperStub.m */; }; A4371D7A210F2AAD00153E3C /* Stub.m in Sources */ = {isa = PBXBuildFile; fileRef = A4092CDE1FAAFB1B00F6935B /* Stub.m */; }; - A48995331FAE2F6200A7A58A /* MessageThrottleKit.h in Headers */ = {isa = PBXBuildFile; fileRef = A48995311FAE2F6200A7A58A /* MessageThrottleKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; A489953C1FAE2F8400A7A58A /* MessageThrottle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */; }; A489953D1FAE3EC600A7A58A /* MessageThrottle.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB9F0A1FA709EC00826A8F /* MessageThrottle.h */; settings = {ATTRIBUTES = (Public, ); }; }; A4DB9ED91FA709A400826A8F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9ED81FA709A400826A8F /* AppDelegate.m */; }; @@ -24,6 +23,12 @@ A4DB9EFC1FA709A400826A8F /* MTDemoUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9EFB1FA709A400826A8F /* MTDemoUITests.m */; }; A4DB9F0C1FA70A0700826A8F /* MessageThrottle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */; }; A4DB9F0D1FA70A0700826A8F /* MessageThrottle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */; }; + A4E7325122621801003D7063 /* MessageThrottle.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB9F0A1FA709EC00826A8F /* MessageThrottle.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4E7325222621801003D7063 /* MessageThrottle.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB9F0A1FA709EC00826A8F /* MessageThrottle.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4E7325322621803003D7063 /* MessageThrottle.h in Headers */ = {isa = PBXBuildFile; fileRef = A4DB9F0A1FA709EC00826A8F /* MessageThrottle.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A4E732542262188D003D7063 /* MessageThrottle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */; }; + A4E732552262188E003D7063 /* MessageThrottle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */; }; + A4E732562262188F003D7063 /* MessageThrottle.m in Sources */ = {isa = PBXBuildFile; fileRef = A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -48,8 +53,7 @@ A4092CDE1FAAFB1B00F6935B /* Stub.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Stub.m; sourceTree = ""; }; A4092CE01FAAFB2F00F6935B /* SuperStub.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SuperStub.h; sourceTree = ""; }; A4092CE11FAAFB2F00F6935B /* SuperStub.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SuperStub.m; sourceTree = ""; }; - A489952F1FAE2F6200A7A58A /* MessageThrottleKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageThrottleKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A48995311FAE2F6200A7A58A /* MessageThrottleKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MessageThrottleKit.h; sourceTree = ""; }; + A489952F1FAE2F6200A7A58A /* MessageThrottle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageThrottle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; A48995321FAE2F6200A7A58A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; A4DB9ED41FA709A400826A8F /* MTDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MTDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; A4DB9ED71FA709A400826A8F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; @@ -69,6 +73,9 @@ A4DB9EFD1FA709A400826A8F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; A4DB9F0A1FA709EC00826A8F /* MessageThrottle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MessageThrottle.h; sourceTree = ""; }; A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MessageThrottle.m; sourceTree = ""; }; + A4E7322F226216D8003D7063 /* MessageThrottle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageThrottle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A4E7323C2262172B003D7063 /* MessageThrottle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageThrottle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A4E732492262175A003D7063 /* MessageThrottle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MessageThrottle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -100,18 +107,30 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + A4E7322C226216D8003D7063 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732392262172B003D7063 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732462262175A003D7063 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - A48995301FAE2F6200A7A58A /* MessageThrottleKit */ = { - isa = PBXGroup; - children = ( - A48995311FAE2F6200A7A58A /* MessageThrottleKit.h */, - A48995321FAE2F6200A7A58A /* Info.plist */, - ); - path = MessageThrottleKit; - sourceTree = ""; - }; A4DB9ECB1FA709A400826A8F = { isa = PBXGroup; children = ( @@ -119,7 +138,6 @@ A4DB9F091FA709EC00826A8F /* MessageThrottle */, A4DB9EEF1FA709A400826A8F /* MTDemoTests */, A4DB9EFA1FA709A400826A8F /* MTDemoUITests */, - A48995301FAE2F6200A7A58A /* MessageThrottleKit */, A4DB9ED51FA709A400826A8F /* Products */, ); sourceTree = ""; @@ -130,7 +148,10 @@ A4DB9ED41FA709A400826A8F /* MTDemo.app */, A4DB9EEC1FA709A400826A8F /* MTDemoTests.xctest */, A4DB9EF71FA709A400826A8F /* MTDemoUITests.xctest */, - A489952F1FAE2F6200A7A58A /* MessageThrottleKit.framework */, + A489952F1FAE2F6200A7A58A /* MessageThrottle.framework */, + A4E7322F226216D8003D7063 /* MessageThrottle.framework */, + A4E7323C2262172B003D7063 /* MessageThrottle.framework */, + A4E732492262175A003D7063 /* MessageThrottle.framework */, ); name = Products; sourceTree = ""; @@ -178,6 +199,7 @@ children = ( A4DB9F0A1FA709EC00826A8F /* MessageThrottle.h */, A4DB9F0B1FA709EC00826A8F /* MessageThrottle.m */, + A48995321FAE2F6200A7A58A /* Info.plist */, ); name = MessageThrottle; path = ../MessageThrottle; @@ -190,17 +212,40 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - A48995331FAE2F6200A7A58A /* MessageThrottleKit.h in Headers */, A489953D1FAE3EC600A7A58A /* MessageThrottle.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; + A4E7322A226216D8003D7063 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + A4E7325122621801003D7063 /* MessageThrottle.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732372262172B003D7063 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + A4E7325222621801003D7063 /* MessageThrottle.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732442262175A003D7063 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + A4E7325322621803003D7063 /* MessageThrottle.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - A489952E1FAE2F6200A7A58A /* MessageThrottleKit */ = { + A489952E1FAE2F6200A7A58A /* MessageThrottle iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = A48995381FAE2F6200A7A58A /* Build configuration list for PBXNativeTarget "MessageThrottleKit" */; + buildConfigurationList = A48995381FAE2F6200A7A58A /* Build configuration list for PBXNativeTarget "MessageThrottle iOS" */; buildPhases = ( A489952A1FAE2F6200A7A58A /* Sources */, A489952B1FAE2F6200A7A58A /* Frameworks */, @@ -211,9 +256,9 @@ ); dependencies = ( ); - name = MessageThrottleKit; + name = "MessageThrottle iOS"; productName = MessageThrottleKit; - productReference = A489952F1FAE2F6200A7A58A /* MessageThrottleKit.framework */; + productReference = A489952F1FAE2F6200A7A58A /* MessageThrottle.framework */; productType = "com.apple.product-type.framework"; }; A4DB9ED31FA709A400826A8F /* MTDemo */ = { @@ -269,6 +314,60 @@ productReference = A4DB9EF71FA709A400826A8F /* MTDemoUITests.xctest */; productType = "com.apple.product-type.bundle.ui-testing"; }; + A4E7322E226216D8003D7063 /* MessageThrottle macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = A4E73234226216D8003D7063 /* Build configuration list for PBXNativeTarget "MessageThrottle macOS" */; + buildPhases = ( + A4E7322A226216D8003D7063 /* Headers */, + A4E7322B226216D8003D7063 /* Sources */, + A4E7322C226216D8003D7063 /* Frameworks */, + A4E7322D226216D8003D7063 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MessageThrottle macOS"; + productName = "MessageThrottle macOS"; + productReference = A4E7322F226216D8003D7063 /* MessageThrottle.framework */; + productType = "com.apple.product-type.framework"; + }; + A4E7323B2262172B003D7063 /* MessageThrottle tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = A4E732412262172B003D7063 /* Build configuration list for PBXNativeTarget "MessageThrottle tvOS" */; + buildPhases = ( + A4E732372262172B003D7063 /* Headers */, + A4E732382262172B003D7063 /* Sources */, + A4E732392262172B003D7063 /* Frameworks */, + A4E7323A2262172B003D7063 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MessageThrottle tvOS"; + productName = "MessageThrottle tvOS"; + productReference = A4E7323C2262172B003D7063 /* MessageThrottle.framework */; + productType = "com.apple.product-type.framework"; + }; + A4E732482262175A003D7063 /* MessageThrottle watchOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = A4E7324E2262175A003D7063 /* Build configuration list for PBXNativeTarget "MessageThrottle watchOS" */; + buildPhases = ( + A4E732442262175A003D7063 /* Headers */, + A4E732452262175A003D7063 /* Sources */, + A4E732462262175A003D7063 /* Frameworks */, + A4E732472262175A003D7063 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MessageThrottle watchOS"; + productName = MessageThrottle; + productReference = A4E732492262175A003D7063 /* MessageThrottle.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -296,6 +395,18 @@ ProvisioningStyle = Automatic; TestTargetID = A4DB9ED31FA709A400826A8F; }; + A4E7322E226216D8003D7063 = { + CreatedOnToolsVersion = 10.2; + ProvisioningStyle = Automatic; + }; + A4E7323B2262172B003D7063 = { + CreatedOnToolsVersion = 10.2; + ProvisioningStyle = Automatic; + }; + A4E732482262175A003D7063 = { + CreatedOnToolsVersion = 10.2; + ProvisioningStyle = Automatic; + }; }; }; buildConfigurationList = A4DB9ECF1FA709A400826A8F /* Build configuration list for PBXProject "MTDemo" */; @@ -314,7 +425,10 @@ A4DB9ED31FA709A400826A8F /* MTDemo */, A4DB9EEB1FA709A400826A8F /* MTDemoTests */, A4DB9EF61FA709A400826A8F /* MTDemoUITests */, - A489952E1FAE2F6200A7A58A /* MessageThrottleKit */, + A489952E1FAE2F6200A7A58A /* MessageThrottle iOS */, + A4E7322E226216D8003D7063 /* MessageThrottle macOS */, + A4E7323B2262172B003D7063 /* MessageThrottle tvOS */, + A4E732482262175A003D7063 /* MessageThrottle watchOS */, ); }; /* End PBXProject section */ @@ -351,6 +465,27 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + A4E7322D226216D8003D7063 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E7323A2262172B003D7063 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732472262175A003D7063 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -394,6 +529,30 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + A4E7322B226216D8003D7063 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A4E732542262188D003D7063 /* MessageThrottle.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732382262172B003D7063 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A4E732552262188E003D7063 /* MessageThrottle.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A4E732452262175A003D7063 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A4E732562262188F003D7063 /* MessageThrottle.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -440,12 +599,12 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = MessageThrottleKit/Info.plist; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.1; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottleKit; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -465,12 +624,12 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = MessageThrottleKit/Info.plist; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.1; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottleKit; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -675,10 +834,179 @@ }; name = Release; }; + A4E73235226216D8003D7063 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = D3RCVUP6VH; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.8; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; + SDKROOT = macosx; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A4E73236226216D8003D7063 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = D3RCVUP6VH; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.8; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; + SDKROOT = macosx; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + A4E732422262172B003D7063 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = D3RCVUP6VH; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A4E732432262172B003D7063 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = D3RCVUP6VH; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + A4E7324F2262175A003D7063 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = D3RCVUP6VH; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + A4E732502262175A003D7063 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = D3RCVUP6VH; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = ../MessageThrottle/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yulingtianxia.MessageThrottle; + PRODUCT_NAME = MessageThrottle; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - A48995381FAE2F6200A7A58A /* Build configuration list for PBXNativeTarget "MessageThrottleKit" */ = { + A48995381FAE2F6200A7A58A /* Build configuration list for PBXNativeTarget "MessageThrottle iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( A48995391FAE2F6200A7A58A /* Debug */, @@ -723,6 +1051,33 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + A4E73234226216D8003D7063 /* Build configuration list for PBXNativeTarget "MessageThrottle macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A4E73235226216D8003D7063 /* Debug */, + A4E73236226216D8003D7063 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A4E732412262172B003D7063 /* Build configuration list for PBXNativeTarget "MessageThrottle tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A4E732422262172B003D7063 /* Debug */, + A4E732432262172B003D7063 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A4E7324E2262175A003D7063 /* Build configuration list for PBXNativeTarget "MessageThrottle watchOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A4E7324F2262175A003D7063 /* Debug */, + A4E732502262175A003D7063 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = A4DB9ECC1FA709A400826A8F /* Project object */; diff --git a/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottleKit.xcscheme b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle iOS.xcscheme similarity index 88% rename from MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottleKit.xcscheme rename to MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle iOS.xcscheme index cc0a0e6..a356c5b 100644 --- a/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottleKit.xcscheme +++ b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle iOS.xcscheme @@ -15,8 +15,8 @@ @@ -46,8 +46,8 @@ @@ -64,8 +64,8 @@ diff --git a/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle macOS.xcscheme b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle macOS.xcscheme new file mode 100644 index 0000000..3175d0d --- /dev/null +++ b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle macOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle tvOS.xcscheme b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle tvOS.xcscheme new file mode 100644 index 0000000..fcf4ef1 --- /dev/null +++ b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle tvOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle watchOS.xcscheme b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle watchOS.xcscheme new file mode 100644 index 0000000..5aad536 --- /dev/null +++ b/MTDemo/MTDemo.xcodeproj/xcshareddata/xcschemes/MessageThrottle watchOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MTDemo/MessageThrottleKit/MessageThrottleKit.h b/MTDemo/MessageThrottleKit/MessageThrottleKit.h deleted file mode 100644 index 9e3da5d..0000000 --- a/MTDemo/MessageThrottleKit/MessageThrottleKit.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// MessageThrottleKit.h -// MessageThrottleKit -// -// Created by 杨萧玉 on 2017/11/5. -// Copyright © 2017年 杨萧玉. All rights reserved. -// - -#import - -//! Project version number for MessageThrottleKit. -FOUNDATION_EXPORT double MessageThrottleKitVersionNumber; - -//! Project version string for MessageThrottleKit. -FOUNDATION_EXPORT const unsigned char MessageThrottleKitVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - -#import - diff --git a/MessageThrottle.podspec b/MessageThrottle.podspec index 6c9121a..000cbf2 100644 --- a/MessageThrottle.podspec +++ b/MessageThrottle.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "MessageThrottle" -s.version = "1.3.2" +s.version = "1.3.3" s.summary = "A lightweight Objective-C message throttle and debounce library." s.description = <<-DESC MessageThrottle is a lightweight, simple library for controlling frequency of forwarding Objective-C messages. You can choose to control existing methods per instance or per class. It's an implementation of function throttle/debounce developed with Objective-C runtime. diff --git a/MTDemo/MessageThrottleKit/Info.plist b/MessageThrottle/Info.plist similarity index 100% rename from MTDemo/MessageThrottleKit/Info.plist rename to MessageThrottle/Info.plist