From 33fe90797d5b47fcddaf0c2ed38d03884998d191 Mon Sep 17 00:00:00 2001 From: cocoatoucher Date: Fri, 28 Jan 2022 17:33:13 +0100 Subject: [PATCH] Modernising the package and the example project. --- AIFlatSwitch.podspec | 15 - AIFlatSwitch.xcodeproj/project.pbxproj | 451 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - Example/Example.xcodeproj/project.pbxproj | 8 +- Example/Podfile | 8 - Example/Podfile.lock | 16 - Info.plist | 24 - Package.swift | 2 +- 9 files changed, 6 insertions(+), 533 deletions(-) delete mode 100644 AIFlatSwitch.podspec delete mode 100644 AIFlatSwitch.xcodeproj/project.pbxproj delete mode 100644 AIFlatSwitch.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 AIFlatSwitch.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 Example/Podfile delete mode 100644 Example/Podfile.lock delete mode 100644 Info.plist diff --git a/AIFlatSwitch.podspec b/AIFlatSwitch.podspec deleted file mode 100644 index 1498496..0000000 --- a/AIFlatSwitch.podspec +++ /dev/null @@ -1,15 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'AIFlatSwitch' - s.version = '1.0.7' - s.license = 'MIT' - s.summary = 'Nicely animated flat design switch alternative to UISwitch' - s.homepage = 'https://github.com/cocoatoucher/AIFlatSwitch' - s.authors = { 'cocoatoucher' => 'cocoatoucher@posteo.se' } - s.swift_version = '5.0' - - s.ios.deployment_target = '8.0' - s.tvos.deployment_target = '12.0' - - s.source = { :git => 'https://github.com/cocoatoucher/AIFlatSwitch.git', :tag => s.version } - s.source_files = 'Sources/*.swift' -end diff --git a/AIFlatSwitch.xcodeproj/project.pbxproj b/AIFlatSwitch.xcodeproj/project.pbxproj deleted file mode 100644 index f2284bf..0000000 --- a/AIFlatSwitch.xcodeproj/project.pbxproj +++ /dev/null @@ -1,451 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 4ED8F5451D8DEB1700B97B8D /* AIFlatSwitch.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4ED8F53B1D8DEB1700B97B8D /* AIFlatSwitch.framework */; }; - 4ED8F54A1D8DEB1700B97B8D /* AIFlatSwitchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4ED8F5491D8DEB1700B97B8D /* AIFlatSwitchTests.swift */; }; - 4ED8F54C1D8DEB1700B97B8D /* AIFlatSwitch.h in Headers */ = {isa = PBXBuildFile; fileRef = 4ED8F53E1D8DEB1700B97B8D /* AIFlatSwitch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4ED8F5571D8DEB3600B97B8D /* AIFlatSwitch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4ED8F5561D8DEB3600B97B8D /* AIFlatSwitch.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 4ED8F5461D8DEB1700B97B8D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 4ED8F5321D8DEB1700B97B8D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4ED8F53A1D8DEB1700B97B8D; - remoteInfo = AIFlatSwitch; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 4E0F6E4C22F8E1AB0079C984 /* AIFlatSwitch.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = AIFlatSwitch.podspec; sourceTree = ""; }; - 4E105409225B84540059CFEE /* .swift-version */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".swift-version"; sourceTree = ""; }; - 4ED8F53B1D8DEB1700B97B8D /* AIFlatSwitch.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AIFlatSwitch.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4ED8F53E1D8DEB1700B97B8D /* AIFlatSwitch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AIFlatSwitch.h; sourceTree = ""; }; - 4ED8F5441D8DEB1700B97B8D /* AIFlatSwitchTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AIFlatSwitchTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 4ED8F5491D8DEB1700B97B8D /* AIFlatSwitchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AIFlatSwitchTests.swift; sourceTree = ""; }; - 4ED8F54B1D8DEB1700B97B8D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 4ED8F5561D8DEB3600B97B8D /* AIFlatSwitch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AIFlatSwitch.swift; sourceTree = ""; }; - 4EDDA37922F86FCF00853937 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; - 4EDDA37A22F86FE200853937 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; - 4EDDA38422F870F800853937 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 4ED8F5371D8DEB1700B97B8D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4ED8F5411D8DEB1700B97B8D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4ED8F5451D8DEB1700B97B8D /* AIFlatSwitch.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 4ED8F5311D8DEB1700B97B8D = { - isa = PBXGroup; - children = ( - 4EDDA38422F870F800853937 /* Info.plist */, - 4EDDA37A22F86FE200853937 /* Package.swift */, - 4E0F6E4C22F8E1AB0079C984 /* AIFlatSwitch.podspec */, - 4EDDA37922F86FCF00853937 /* README.md */, - 4E105409225B84540059CFEE /* .swift-version */, - 4ED8F5551D8DEB1C00B97B8D /* Sources */, - 4ED8F5481D8DEB1700B97B8D /* Tests */, - 4ED8F53C1D8DEB1700B97B8D /* Products */, - ); - sourceTree = ""; - }; - 4ED8F53C1D8DEB1700B97B8D /* Products */ = { - isa = PBXGroup; - children = ( - 4ED8F53B1D8DEB1700B97B8D /* AIFlatSwitch.framework */, - 4ED8F5441D8DEB1700B97B8D /* AIFlatSwitchTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 4ED8F5481D8DEB1700B97B8D /* Tests */ = { - isa = PBXGroup; - children = ( - 4ED8F5491D8DEB1700B97B8D /* AIFlatSwitchTests.swift */, - 4ED8F54B1D8DEB1700B97B8D /* Info.plist */, - ); - path = Tests; - sourceTree = ""; - }; - 4ED8F5551D8DEB1C00B97B8D /* Sources */ = { - isa = PBXGroup; - children = ( - 4ED8F5561D8DEB3600B97B8D /* AIFlatSwitch.swift */, - 4ED8F53E1D8DEB1700B97B8D /* AIFlatSwitch.h */, - ); - path = Sources; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 4ED8F5381D8DEB1700B97B8D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4ED8F54C1D8DEB1700B97B8D /* AIFlatSwitch.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 4ED8F53A1D8DEB1700B97B8D /* AIFlatSwitch */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4ED8F54F1D8DEB1700B97B8D /* Build configuration list for PBXNativeTarget "AIFlatSwitch" */; - buildPhases = ( - 4ED8F5361D8DEB1700B97B8D /* Sources */, - 4ED8F5371D8DEB1700B97B8D /* Frameworks */, - 4ED8F5381D8DEB1700B97B8D /* Headers */, - 4ED8F5391D8DEB1700B97B8D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = AIFlatSwitch; - productName = AIFlatSwitch; - productReference = 4ED8F53B1D8DEB1700B97B8D /* AIFlatSwitch.framework */; - productType = "com.apple.product-type.framework"; - }; - 4ED8F5431D8DEB1700B97B8D /* AIFlatSwitchTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4ED8F5521D8DEB1700B97B8D /* Build configuration list for PBXNativeTarget "AIFlatSwitchTests" */; - buildPhases = ( - 4ED8F5401D8DEB1700B97B8D /* Sources */, - 4ED8F5411D8DEB1700B97B8D /* Frameworks */, - 4ED8F5421D8DEB1700B97B8D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 4ED8F5471D8DEB1700B97B8D /* PBXTargetDependency */, - ); - name = AIFlatSwitchTests; - productName = AIFlatSwitchTests; - productReference = 4ED8F5441D8DEB1700B97B8D /* AIFlatSwitchTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 4ED8F5321D8DEB1700B97B8D /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0800; - LastUpgradeCheck = 1020; - ORGANIZATIONNAME = cocoatoucher; - TargetAttributes = { - 4ED8F53A1D8DEB1700B97B8D = { - CreatedOnToolsVersion = 8.0; - LastSwiftMigration = 1020; - ProvisioningStyle = Automatic; - }; - 4ED8F5431D8DEB1700B97B8D = { - CreatedOnToolsVersion = 8.0; - LastSwiftMigration = 1020; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = 4ED8F5351D8DEB1700B97B8D /* Build configuration list for PBXProject "AIFlatSwitch" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 4ED8F5311D8DEB1700B97B8D; - productRefGroup = 4ED8F53C1D8DEB1700B97B8D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 4ED8F53A1D8DEB1700B97B8D /* AIFlatSwitch */, - 4ED8F5431D8DEB1700B97B8D /* AIFlatSwitchTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 4ED8F5391D8DEB1700B97B8D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4ED8F5421D8DEB1700B97B8D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 4ED8F5361D8DEB1700B97B8D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4ED8F5571D8DEB3600B97B8D /* AIFlatSwitch.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4ED8F5401D8DEB1700B97B8D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4ED8F54A1D8DEB1700B97B8D /* AIFlatSwitchTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 4ED8F5471D8DEB1700B97B8D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 4ED8F53A1D8DEB1700B97B8D /* AIFlatSwitch */; - targetProxy = 4ED8F5461D8DEB1700B97B8D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 4ED8F54D1D8DEB1700B97B8D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 4ED8F54E1D8DEB1700B97B8D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 4ED8F5501D8DEB1700B97B8D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoatoucher.AIFlatSwitch; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 4ED8F5511D8DEB1700B97B8D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoatoucher.AIFlatSwitch; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 4ED8F5531D8DEB1700B97B8D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - INFOPLIST_FILE = AIFlatSwitchTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoatoucher.AIFlatSwitchTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 4ED8F5541D8DEB1700B97B8D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - INFOPLIST_FILE = AIFlatSwitchTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoatoucher.AIFlatSwitchTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 4ED8F5351D8DEB1700B97B8D /* Build configuration list for PBXProject "AIFlatSwitch" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4ED8F54D1D8DEB1700B97B8D /* Debug */, - 4ED8F54E1D8DEB1700B97B8D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4ED8F54F1D8DEB1700B97B8D /* Build configuration list for PBXNativeTarget "AIFlatSwitch" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4ED8F5501D8DEB1700B97B8D /* Debug */, - 4ED8F5511D8DEB1700B97B8D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4ED8F5521D8DEB1700B97B8D /* Build configuration list for PBXNativeTarget "AIFlatSwitchTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4ED8F5531D8DEB1700B97B8D /* Debug */, - 4ED8F5541D8DEB1700B97B8D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 4ED8F5321D8DEB1700B97B8D /* Project object */; -} diff --git a/AIFlatSwitch.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/AIFlatSwitch.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 3dcf010..0000000 --- a/AIFlatSwitch.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/AIFlatSwitch.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/AIFlatSwitch.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/AIFlatSwitch.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj index 04a5339..b2e07a6 100644 --- a/Example/Example.xcodeproj/project.pbxproj +++ b/Example/Example.xcodeproj/project.pbxproj @@ -197,7 +197,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0800; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1320; ORGANIZATIONNAME = cocoatoucher; TargetAttributes = { 4ED8F5601D8DED0500B97B8D = { @@ -350,6 +350,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -375,7 +376,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -409,6 +410,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -428,7 +430,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/Example/Podfile b/Example/Podfile deleted file mode 100644 index 5f43fc7..0000000 --- a/Example/Podfile +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://github.com/CocoaPods/Specs.git' - -platform :ios, '8.0' -use_frameworks! - -target 'Example' do - pod 'AIFlatSwitch', :path => '..' -end diff --git a/Example/Podfile.lock b/Example/Podfile.lock deleted file mode 100644 index 2cdd734..0000000 --- a/Example/Podfile.lock +++ /dev/null @@ -1,16 +0,0 @@ -PODS: - - AIFlatSwitch (1.0.6) - -DEPENDENCIES: - - AIFlatSwitch (from `..`) - -EXTERNAL SOURCES: - AIFlatSwitch: - :path: ".." - -SPEC CHECKSUMS: - AIFlatSwitch: b1965ccd826c3ea7566f6bebda19562d131ec2b7 - -PODFILE CHECKSUM: ba5655ab2719e6ec0ccf84c53f42a35033524fab - -COCOAPODS: 1.6.1 diff --git a/Info.plist b/Info.plist deleted file mode 100644 index 9ef67be..0000000 --- a/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSHumanReadableCopyright - Copyright © 2019 cocoatoucher. All rights reserved. - - diff --git a/Package.swift b/Package.swift index 2c739d6..ad7e8d6 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "AIFlatSwitch", platforms: [ - .iOS(.v8), .tvOS(.v12) + .iOS(.v9), .tvOS(.v12) ], products: [ .library(name: "AIFlatSwitch", targets: ["AIFlatSwitch"])