diff --git a/.travis.yml b/.travis.yml index 31ecec3..af6bf78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage -osx_image: xcode8 +osx_image: xcode9.4 language: swift # cache: cocoapods # podfile: Example/Podfile @@ -13,5 +13,5 @@ before_install: script: - set -o pipefail -- xcodebuild -workspace Example/AGVolumeControlView.xcworkspace -scheme AGVolumeControlView-Example -sdk iphonesimulator10.0 -destination "OS=10.0,name=iPhone 7 Plus" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c; +- xcodebuild -workspace Example/AGVolumeControlView.xcworkspace -scheme AGVolumeControlView-Example -sdk iphonesimulator11.4 -destination "OS=10.13,name=iPhone X" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c; - pod lib lint --allow-warnings diff --git a/Example/AGVolumeControlView.xcodeproj/project.pbxproj b/Example/AGVolumeControlView.xcodeproj/project.pbxproj index 01cc002..ef0fd1f 100644 --- a/Example/AGVolumeControlView.xcodeproj/project.pbxproj +++ b/Example/AGVolumeControlView.xcodeproj/project.pbxproj @@ -7,34 +7,18 @@ objects = { /* Begin PBXBuildFile section */ - 52DCEACEC99569CC36633609 /* Pods_AGVolumeControlView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 21BF39A2CCE4CB5E767D1BD2 /* Pods_AGVolumeControlView_Example.framework */; }; 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; - C18F829909E33EE01A2FFC99 /* Pods_AGVolumeControlView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4003039D4F27E6DA7C731FFC /* Pods_AGVolumeControlView_Tests.framework */; }; CEA899161EEAF2CD00ECB19D /* YDOM.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = CEA899151EEAF2CD00ECB19D /* YDOM.mp3 */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 607FACCF1AFB9204008FA782; - remoteInfo = AGVolumeControlView; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXFileReference section */ 0672442EE17E6D5DAC17F56D /* AGVolumeControlView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AGVolumeControlView.podspec; path = ../AGVolumeControlView.podspec; sourceTree = ""; }; 1D5550E6CC4F0485CD45F33E /* Pods-AGVolumeControlView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGVolumeControlView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.debug.xcconfig"; sourceTree = ""; }; - 21BF39A2CCE4CB5E767D1BD2 /* Pods_AGVolumeControlView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AGVolumeControlView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 25D0A828BA45EA939CB9DD12 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 35E7FE0A6859B55E75C9DDD2 /* Pods-AGVolumeControlView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGVolumeControlView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.debug.xcconfig"; sourceTree = ""; }; - 4003039D4F27E6DA7C731FFC /* Pods_AGVolumeControlView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AGVolumeControlView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD01AFB9204008FA782 /* AGVolumeControlView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AGVolumeControlView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -42,13 +26,9 @@ 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* AGVolumeControlView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AGVolumeControlView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; A1C3607EC67356A6A407AD1F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; CEA899151EEAF2CD00ECB19D /* YDOM.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = YDOM.mp3; sourceTree = ""; }; EAC6D158E9C6B2446883F984 /* Pods-AGVolumeControlView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGVolumeControlView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.release.xcconfig"; sourceTree = ""; }; - ECF7ACA42F6E97A394C94785 /* Pods-AGVolumeControlView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGVolumeControlView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -56,15 +36,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 52DCEACEC99569CC36633609 /* Pods_AGVolumeControlView_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE21AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C18F829909E33EE01A2FFC99 /* Pods_AGVolumeControlView_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -76,8 +47,6 @@ children = ( 1D5550E6CC4F0485CD45F33E /* Pods-AGVolumeControlView_Example.debug.xcconfig */, EAC6D158E9C6B2446883F984 /* Pods-AGVolumeControlView_Example.release.xcconfig */, - 35E7FE0A6859B55E75C9DDD2 /* Pods-AGVolumeControlView_Tests.debug.xcconfig */, - ECF7ACA42F6E97A394C94785 /* Pods-AGVolumeControlView_Tests.release.xcconfig */, ); name = Pods; sourceTree = ""; @@ -87,7 +56,6 @@ children = ( 607FACF51AFB993E008FA782 /* Podspec Metadata */, 607FACD21AFB9204008FA782 /* Example for AGVolumeControlView */, - 607FACE81AFB9204008FA782 /* Tests */, 607FACD11AFB9204008FA782 /* Products */, 5CBEAE1668A472AAF64B5950 /* Pods */, D00D3F6A87497AAE428ACD48 /* Frameworks */, @@ -98,7 +66,6 @@ isa = PBXGroup; children = ( 607FACD01AFB9204008FA782 /* AGVolumeControlView_Example.app */, - 607FACE51AFB9204008FA782 /* AGVolumeControlView_Tests.xctest */, ); name = Products; sourceTree = ""; @@ -106,13 +73,13 @@ 607FACD21AFB9204008FA782 /* Example for AGVolumeControlView */ = { isa = PBXGroup; children = ( - CEA899151EEAF2CD00ECB19D /* YDOM.mp3 */, 607FACD51AFB9204008FA782 /* AppDelegate.swift */, - 607FACD71AFB9204008FA782 /* ViewController.swift */, - 607FACD91AFB9204008FA782 /* Main.storyboard */, 607FACDC1AFB9204008FA782 /* Images.xcassets */, 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, + 607FACD91AFB9204008FA782 /* Main.storyboard */, 607FACD31AFB9204008FA782 /* Supporting Files */, + 607FACD71AFB9204008FA782 /* ViewController.swift */, + CEA899151EEAF2CD00ECB19D /* YDOM.mp3 */, ); name = "Example for AGVolumeControlView"; path = AGVolumeControlView; @@ -126,29 +93,12 @@ name = "Supporting Files"; sourceTree = ""; }; - 607FACE81AFB9204008FA782 /* Tests */ = { - isa = PBXGroup; - children = ( - 607FACEB1AFB9204008FA782 /* Tests.swift */, - 607FACE91AFB9204008FA782 /* Supporting Files */, - ); - path = Tests; - sourceTree = ""; - }; - 607FACE91AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACEA1AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { isa = PBXGroup; children = ( 0672442EE17E6D5DAC17F56D /* AGVolumeControlView.podspec */, - 25D0A828BA45EA939CB9DD12 /* README.md */, A1C3607EC67356A6A407AD1F /* LICENSE */, + 25D0A828BA45EA939CB9DD12 /* README.md */, ); name = "Podspec Metadata"; sourceTree = ""; @@ -156,8 +106,6 @@ D00D3F6A87497AAE428ACD48 /* Frameworks */ = { isa = PBXGroup; children = ( - 21BF39A2CCE4CB5E767D1BD2 /* Pods_AGVolumeControlView_Example.framework */, - 4003039D4F27E6DA7C731FFC /* Pods_AGVolumeControlView_Tests.framework */, ); name = Frameworks; sourceTree = ""; @@ -174,7 +122,6 @@ 607FACCD1AFB9204008FA782 /* Frameworks */, 607FACCE1AFB9204008FA782 /* Resources */, 5F5F34EDF929020DD21F20FA /* [CP] Embed Pods Frameworks */, - 07DF1D624576C6C09AC434F0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -185,27 +132,6 @@ productReference = 607FACD01AFB9204008FA782 /* AGVolumeControlView_Example.app */; productType = "com.apple.product-type.application"; }; - 607FACE41AFB9204008FA782 /* AGVolumeControlView_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AGVolumeControlView_Tests" */; - buildPhases = ( - 2D8D3B6C5A14A8EAB0233102 /* [CP] Check Pods Manifest.lock */, - 607FACE11AFB9204008FA782 /* Sources */, - 607FACE21AFB9204008FA782 /* Frameworks */, - 607FACE31AFB9204008FA782 /* Resources */, - 9CBB8999718068439CC3C30D /* [CP] Embed Pods Frameworks */, - E0AE5E59428EEEAAF1A7F1EE /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 607FACE71AFB9204008FA782 /* PBXTargetDependency */, - ); - name = AGVolumeControlView_Tests; - productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* AGVolumeControlView_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -213,17 +139,12 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0820; + LastUpgradeCheck = 0940; ORGANIZATIONNAME = CocoaPods; TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0820; - }; - 607FACE41AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0820; - TestTargetID = 607FACCF1AFB9204008FA782; + LastSwiftMigration = 0940; }; }; }; @@ -241,7 +162,6 @@ projectRoot = ""; targets = ( 607FACCF1AFB9204008FA782 /* AGVolumeControlView_Example */, - 607FACE41AFB9204008FA782 /* AGVolumeControlView_Tests */, ); }; /* End PBXProject section */ @@ -258,55 +178,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 607FACE31AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 07DF1D624576C6C09AC434F0 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 2D8D3B6C5A14A8EAB0233102 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; 5F5F34EDF929020DD21F20FA /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/AGVolumeControlView/AGVolumeControlView.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AGVolumeControlView.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -319,43 +205,16 @@ files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AGVolumeControlView_Example-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - 9CBB8999718068439CC3C30D /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - E0AE5E59428EEEAAF1A7F1EE /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-resources.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -370,24 +229,8 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 607FACE11AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 607FACCF1AFB9204008FA782 /* AGVolumeControlView_Example */; - targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin PBXVariantGroup section */ 607FACD91AFB9204008FA782 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -416,14 +259,22 @@ 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_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_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -447,7 +298,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -463,14 +314,22 @@ 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_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_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -487,7 +346,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; @@ -505,7 +364,7 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; }; name = Debug; }; @@ -519,43 +378,7 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - 607FACF31AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 35E7FE0A6859B55E75C9DDD2 /* Pods-AGVolumeControlView_Tests.debug.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 607FACF41AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = ECF7ACA42F6E97A394C94785 /* Pods-AGVolumeControlView_Tests.release.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; }; name = Release; }; @@ -580,15 +403,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AGVolumeControlView_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF31AFB9204008FA782 /* Debug */, - 607FACF41AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 607FACC81AFB9204008FA782 /* Project object */; diff --git a/Example/AGVolumeControlView.xcodeproj/xcshareddata/xcschemes/AGVolumeControlView-Example.xcscheme b/Example/AGVolumeControlView.xcodeproj/xcshareddata/xcschemes/AGVolumeControlView-Example.xcscheme index a22531f..d0c3394 100644 --- a/Example/AGVolumeControlView.xcodeproj/xcshareddata/xcschemes/AGVolumeControlView-Example.xcscheme +++ b/Example/AGVolumeControlView.xcodeproj/xcshareddata/xcschemes/AGVolumeControlView-Example.xcscheme @@ -1,6 +1,6 @@ - - - - - - - - + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/AGVolumeControlView/Base.lproj/Main.storyboard b/Example/AGVolumeControlView/Base.lproj/Main.storyboard index f9f8b13..b1b7329 100644 --- a/Example/AGVolumeControlView/Base.lproj/Main.storyboard +++ b/Example/AGVolumeControlView/Base.lproj/Main.storyboard @@ -1,11 +1,11 @@ - + - + @@ -89,7 +89,7 @@ - - + + diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Contents.json index f3ce5b9..c8477e6 100644 --- a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,108 +1,158 @@ { + "info" : { + "author" : "xcode", + "version" : 1 + }, "images" : [ { - "size" : "20x20", - "idiom" : "iphone", "filename" : "Icon-40.png", + "size" : "40x40", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-40@2x.png", + "size" : "40x40", + "idiom" : "ipad", "scale" : "2x" }, { - "size" : "20x20", + "filename" : "Icon-60@2x.png", + "size" : "60x60", "idiom" : "iphone", - "filename" : "Icon-40@2x-1.png", - "scale" : "3x" + "scale" : "2x" }, { + "filename" : "Icon-72.png", + "size" : "72x72", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-72@2x.png", + "size" : "72x72", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-76.png", + "size" : "76x76", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-76@2x.png", + "size" : "76x76", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-Small-50.png", + "size" : "50x50", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-Small-50@2x.png", + "size" : "50x50", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-Small.png", "size" : "29x29", "idiom" : "iphone", + "scale" : "1x" + }, + { "filename" : "Icon-Small@2x.png", + "size" : "29x29", + "idiom" : "iphone", "scale" : "2x" }, { - "size" : "29x29", + "filename" : "Icon.png", + "size" : "57x57", "idiom" : "iphone", - "filename" : "Icon-Small@3x.png", - "scale" : "3x" + "scale" : "1x" }, { - "size" : "40x40", + "filename" : "Icon@2x.png", + "size" : "57x57", "idiom" : "iphone", - "filename" : "Icon-40@2x.png", "scale" : "2x" }, { - "size" : "40x40", + "filename" : "Icon-Small@3x.png", + "size" : "29x29", "idiom" : "iphone", - "filename" : "Icon-40@3x.png", "scale" : "3x" }, { - "size" : "60x60", + "filename" : "Icon-40@3x.png", + "size" : "40x40", "idiom" : "iphone", - "filename" : "Icon-60@2x.png", - "scale" : "2x" + "scale" : "3x" }, { + "filename" : "Icon-60@3x.png", "size" : "60x60", "idiom" : "iphone", - "filename" : "Icon-60@3x.png", "scale" : "3x" }, { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-42.png", + "filename" : "Icon-40@2x.png", + "size" : "40x40", + "idiom" : "iphone", "scale" : "2x" }, { + "filename" : "Icon-Small.png", "size" : "29x29", "idiom" : "ipad", - "filename" : "Icon-Small.png", "scale" : "1x" }, { + "filename" : "Icon-Small@2x.png", "size" : "29x29", "idiom" : "ipad", - "filename" : "Icon-Small@2x-1.png", "scale" : "2x" }, { - "size" : "40x40", + "filename" : "Icon-83.5@2x.png", + "size" : "83.5x83.5", "idiom" : "ipad", - "filename" : "Icon-41.png", - "scale" : "1x" + "scale" : "2x" }, { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-40@2x-2.png", + "filename" : "NotificationIcon@2x.png", + "size" : "20x20", + "idiom" : "iphone", "scale" : "2x" }, { - "size" : "76x76", + "filename" : "NotificationIcon@3x.png", + "size" : "20x20", + "idiom" : "iphone", + "scale" : "3x" + }, + { + "filename" : "NotificationIcon~ipad.png", + "size" : "20x20", "idiom" : "ipad", - "filename" : "Icon-76.png", "scale" : "1x" }, { - "size" : "76x76", + "filename" : "NotificationIcon~ipad@2x.png", + "size" : "20x20", "idiom" : "ipad", - "filename" : "Icon-76@2x.png", "scale" : "2x" }, { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" + "filename" : "ios-marketing.png", + "size" : "1024x1024", + "idiom" : "ios-marketing", + "scale" : "1x" } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } + ] } \ No newline at end of file diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40.png index b23894f..0bbaabb 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x-1.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x-1.png deleted file mode 100644 index 369d404..0000000 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x-1.png and /dev/null differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x-2.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x-2.png deleted file mode 100644 index 369d404..0000000 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x-2.png and /dev/null differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png index 369d404..e7d3c86 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png index b6804b7..0d26325 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-41.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-41.png deleted file mode 100644 index b23894f..0000000 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-41.png and /dev/null differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-42.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-42.png deleted file mode 100644 index b23894f..0000000 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-42.png and /dev/null differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png index b6804b7..0d26325 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png index 63d2726..7fe9e21 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-72.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-72.png new file mode 100644 index 0000000..f2a9d28 Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-72.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png new file mode 100644 index 0000000..b8398ac Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76.png index ed7e042..d263774 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png index ae2590c..e98d47a 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png new file mode 100644 index 0000000..ba2684c Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small-50.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small-50.png new file mode 100644 index 0000000..8f20b5d Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small-50.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png new file mode 100644 index 0000000..ac4b68d Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small.png index 0b3be38..3066bb2 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x-1.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x-1.png deleted file mode 100644 index 8fc0532..0000000 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x-1.png and /dev/null differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png index 8fc0532..56e7f25 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png index 54f3df1..b018716 100644 Binary files a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon.png new file mode 100644 index 0000000..666a379 Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon@2x.png new file mode 100644 index 0000000..ce5b50d Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/Icon@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon@2x.png new file mode 100644 index 0000000..0bbaabb Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon@3x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon@3x.png new file mode 100644 index 0000000..dbd8ccf Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon@3x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon~ipad.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon~ipad.png new file mode 100644 index 0000000..2bc66c7 Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon~ipad.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon~ipad@2x.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon~ipad@2x.png new file mode 100644 index 0000000..0bbaabb Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/NotificationIcon~ipad@2x.png differ diff --git a/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/ios-marketing.png b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/ios-marketing.png new file mode 100644 index 0000000..2efeb82 Binary files /dev/null and b/Example/AGVolumeControlView/Images.xcassets/AppIcon.appiconset/ios-marketing.png differ diff --git a/Example/AGVolumeControlView/Info.plist b/Example/AGVolumeControlView/Info.plist index eb18faa..6c48029 100644 --- a/Example/AGVolumeControlView/Info.plist +++ b/Example/AGVolumeControlView/Info.plist @@ -33,7 +33,6 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft diff --git a/Example/AGVolumeControlView/ViewController.swift b/Example/AGVolumeControlView/ViewController.swift index 8c76fac..b12b7c2 100644 --- a/Example/AGVolumeControlView/ViewController.swift +++ b/Example/AGVolumeControlView/ViewController.swift @@ -57,7 +57,7 @@ extension ViewController button.tintColor = UIColor.init(red: 117.0/255.0, green: 250.0/255.0, blue: 252.0/255.0, alpha: 1.0) } - func valueChanged() { + @objc func valueChanged() { self.audioPlayer?.volume = Float(self.volumeControl.volumeSliderProgressValue()) } @@ -97,7 +97,7 @@ extension ViewController ) } - func levelTimerListener () + @objc func levelTimerListener () { self.audioPlayer?.updateMeters() var level : CGFloat! diff --git a/Example/Podfile b/Example/Podfile index 58b8a68..f94db18 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,11 +1,7 @@ -use_frameworks! +# Uncomment the next line to define a global platform for your project +platform :ios, '9.0' target 'AGVolumeControlView_Example' do + use_frameworks! pod 'AGVolumeControlView', :path => '../' - - target 'AGVolumeControlView_Tests' do - inherit! :search_paths - - - end end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index a81ffbd..5e3ac7b 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - AGVolumeControlView: 9cf519ad35bc9a1214488bd10804fddd39c26322 + AGVolumeControlView: ae2d40f1868b951ba2786e9ed164fe69eaf6611a -PODFILE CHECKSUM: fd091dedd20f3ff168f1d66a05d8360009b1fab5 +PODFILE CHECKSUM: 11587191a00c35817911e6272a01df53bdace048 -COCOAPODS: 1.2.1 +COCOAPODS: 1.5.3 diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index a81ffbd..5e3ac7b 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - AGVolumeControlView: 9cf519ad35bc9a1214488bd10804fddd39c26322 + AGVolumeControlView: ae2d40f1868b951ba2786e9ed164fe69eaf6611a -PODFILE CHECKSUM: fd091dedd20f3ff168f1d66a05d8360009b1fab5 +PODFILE CHECKSUM: 11587191a00c35817911e6272a01df53bdace048 -COCOAPODS: 1.2.1 +COCOAPODS: 1.5.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 1f7ec3d..c97f42b 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,26 +7,23 @@ objects = { /* Begin PBXBuildFile section */ - 0906DF70A494E7F8650FEB98EA8134BF /* AGVolumeControlView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B054DA5BD354768A8150C63969376CF8 /* AGVolumeControlView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1E566B4E9F23D399176666A6FC69AE87 /* AGArcStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6C8FCEEE07347ADA9C40D53D3049B20 /* AGArcStruct.swift */; }; - 25952EFF747D6ED4C73692BFA61FAD62 /* Pods-AGVolumeControlView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = ABF7AF9A3463CCCD5D201FA0F838FEC9 /* Pods-AGVolumeControlView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 290831E32DE89FA921E2C12D12103E26 /* AGVolumeControlSlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C333369C9266164A84F49614F4F68EC /* AGVolumeControlSlider.swift */; }; - 37F511F8307F88AEB661957B319C4B6B /* AGVolumeControlDrawView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA9DAA90ACBE68C00FBB481D53780017 /* AGVolumeControlDrawView.swift */; }; - 472D575D18B9C924CA7E65478100EA2C /* Pods-AGVolumeControlView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D6B49821BCE02C3EA06E93F2ED059B83 /* Pods-AGVolumeControlView_Tests-dummy.m */; }; - 4C57AC8AAE6552006A7D771F31B235A2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; - 4D1C284B009F4EF864FDC61A75459018 /* AGVolumeControlGradientBackground.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8065FE8D0FB50CCA0C4EBF9CD02DE269 /* AGVolumeControlGradientBackground.swift */; }; - 56F2894D85A7057999885765698A7679 /* UIColor+AGColoredGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2820E0A86D540BD667970B4974AD2CDE /* UIColor+AGColoredGradient.swift */; }; - 66855D84E1AF87F92F32488AE7BB2044 /* Pods-AGVolumeControlView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5432060781A28D060A37F122DE64C6A2 /* Pods-AGVolumeControlView_Example-dummy.m */; }; - 7070E4AB0DEA82F911F2359AE6C97490 /* Pods-AGVolumeControlView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8AC1B814E4EE6514AE4B65BD3478C6FD /* Pods-AGVolumeControlView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 86D2E30E1DB9EE6F50A7228723DACE84 /* AGVolumeControlMathHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = D87637745DCFFF3CB3130EEBD1DAEC53 /* AGVolumeControlMathHelper.swift */; }; - 92A79264EC784E6803B4949CCB553395 /* AGCircleStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD17D5F0C209091A4B086139D699823B /* AGCircleStruct.swift */; }; - B0618794D3BC2AEB16758E8D82F7FE9E /* AGVolumeControlLinearGradientBackground.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6DE7B0A0217E486190410478D4F7D677 /* AGVolumeControlLinearGradientBackground.swift */; }; - C720139C0126B203BFC476F0E435B6C3 /* AGVolumeControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2343FFF08169732A040C422112CAF6B4 /* AGVolumeControl.swift */; }; - E0CFBB81FB130C9045FF7551D078AC2B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */; }; - E67EF79E5C3424B7ACA464DBE9D3C981 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; - F3D8B17CBD8DFCA5EC8DE24371169991 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; - F73F5D56C102C53D4D39327E99398E15 /* AGVolumeControlView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E7894CC8D82DDE2053796012C5E9821 /* AGVolumeControlView-dummy.m */; }; - F9B0876496D5252967F17DA7B406DBAF /* AGIntervalStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = 814579BB67A1777158B1524F864B8949 /* AGIntervalStruct.swift */; }; + 0906DF70A494E7F8650FEB98EA8134BF /* AGVolumeControlView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EAF3397AFF59A6F5C8127850F3F10A32 /* AGVolumeControlView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0A56D54B4E54A01D79993ABA8F66BBCB /* UIColor+AGColoredGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 267776015988AFDEC72306008CEA4EBA /* UIColor+AGColoredGradient.swift */; }; + 0B6A574ECECAD4B8DF9B15362851B05F /* AGVolumeControlMathHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DC829EDB064BB6480237B8B33D92726 /* AGVolumeControlMathHelper.swift */; }; + 20A3FA649674A6BE7000208232A791F4 /* AGVolumeControlSlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA0A35BC536408DE6DEE7C4EA83B02A0 /* AGVolumeControlSlider.swift */; }; + 25952EFF747D6ED4C73692BFA61FAD62 /* Pods-AGVolumeControlView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E3391A4D7ED85BC7066859C721D2CCD4 /* Pods-AGVolumeControlView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2E06D34A737DB5C0BA9BBBF0A3B599C7 /* AGVolumeControlDrawView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 591C1B72C9AD133A58F8F6D49D411E65 /* AGVolumeControlDrawView.swift */; }; + 46D0A91D347BBEBDE3CF4D7CEA7692E4 /* AGCircleStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DC6CB10B1BAF612CD2E4016D34558C0 /* AGCircleStruct.swift */; }; + 5E94939770F2DCED757A89B24E053536 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */; }; + 66855D84E1AF87F92F32488AE7BB2044 /* Pods-AGVolumeControlView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D51FD0E51D6DB5775B07DF2CFD4C52C /* Pods-AGVolumeControlView_Example-dummy.m */; }; + 7F86D02BDE7EB97DA80AA86235F64E8D /* AGArcStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85CBDB5658D9F097DDA3B1D3F4026944 /* AGArcStruct.swift */; }; + AC914FBCED883A1A6AF7597C56C3F49B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC2C02191C153C1554B35DEE8B2D09D4 /* UIKit.framework */; }; + E106B6DDD7DA396F76085EB27B771FE5 /* AGVolumeControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 599E4B188697C17085C6C16343A4007C /* AGVolumeControl.swift */; }; + E67A16505FAA2EDB6CDFECF9AB8C115D /* AGVolumeControlGradientBackground.swift in Sources */ = {isa = PBXBuildFile; fileRef = B031D9473D2680ABC5FACE55165CCF97 /* AGVolumeControlGradientBackground.swift */; }; + E95E226CCF8B234B1C2FB6E7D0E001B4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */; }; + F1F6D840FA5E9439FDA2DABC84E4D4E6 /* AGIntervalStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30A3189BC81264BD3A4E125C959ED09 /* AGIntervalStruct.swift */; }; + F40EC9001D315F005B399E2DBF1A3E38 /* AGVolumeControlLinearGradientBackground.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBA5CAF86E2C099AD8012A73D15255F7 /* AGVolumeControlLinearGradientBackground.swift */; }; + F752FCB1A1A50129859E0C9B86BD41E0 /* AGVolumeControlView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 13FF4A937EEF50513EFAF281AEAEF8D6 /* AGVolumeControlView-dummy.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -40,48 +37,40 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 013DF16A961C65BD434AB8FBF9DFEE57 /* Pods-AGVolumeControlView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AGVolumeControlView_Example-resources.sh"; sourceTree = ""; }; - 0E7894CC8D82DDE2053796012C5E9821 /* AGVolumeControlView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AGVolumeControlView-dummy.m"; sourceTree = ""; }; - 1CBBFBD291C366B35CFBD0F52A9D92C4 /* Pods-AGVolumeControlView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AGVolumeControlView_Tests-frameworks.sh"; sourceTree = ""; }; - 2343FFF08169732A040C422112CAF6B4 /* AGVolumeControl.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGVolumeControl.swift; sourceTree = ""; }; - 260F12EC03B8E0CEFDA10D91EAF0F00F /* Pods-AGVolumeControlView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AGVolumeControlView_Example.release.xcconfig"; sourceTree = ""; }; - 2820E0A86D540BD667970B4974AD2CDE /* UIColor+AGColoredGradient.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIColor+AGColoredGradient.swift"; sourceTree = ""; }; - 29FAAC5BEF1D557694DC6703451C3FC7 /* Pods-AGVolumeControlView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AGVolumeControlView_Tests.debug.xcconfig"; sourceTree = ""; }; - 2B3EA8043660E6C853F53FDC3A8C124D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 2E7A3AB0E33C4EBC0B0E54A876B0C429 /* Pods_AGVolumeControlView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AGVolumeControlView_Tests.framework; path = "Pods-AGVolumeControlView_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 30EAE6FEE4906378C3128BCC9287F852 /* Pods-AGVolumeControlView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-AGVolumeControlView_Tests.modulemap"; sourceTree = ""; }; - 314E696C110367ABA9D2E9DC2B64EA51 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 36F96EBFBBCF794B680AB56E5EBAA229 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3B1090CCD90660A8D03B5113F9732090 /* Pods_AGVolumeControlView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AGVolumeControlView_Example.framework; path = "Pods-AGVolumeControlView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 43CE81797E3EA6E0756A25A6E87A0907 /* Pods-AGVolumeControlView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AGVolumeControlView_Tests-acknowledgements.plist"; sourceTree = ""; }; - 5432060781A28D060A37F122DE64C6A2 /* Pods-AGVolumeControlView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AGVolumeControlView_Example-dummy.m"; sourceTree = ""; }; - 5723F0853EFDB74D22F83C33840D30C4 /* Pods-AGVolumeControlView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AGVolumeControlView_Example-acknowledgements.markdown"; sourceTree = ""; }; - 5DDCF0E25D9B6DA84A6DFA08B842D86C /* Pods-AGVolumeControlView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-AGVolumeControlView_Example.modulemap"; sourceTree = ""; }; - 6DE7B0A0217E486190410478D4F7D677 /* AGVolumeControlLinearGradientBackground.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGVolumeControlLinearGradientBackground.swift; sourceTree = ""; }; - 723A8171C5AFC8BA68D6CED3B8E527BA /* Pods-AGVolumeControlView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AGVolumeControlView_Example-acknowledgements.plist"; sourceTree = ""; }; - 7E7A3889A6C77DF6407E3C239A38F988 /* Pods-AGVolumeControlView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AGVolumeControlView_Example-frameworks.sh"; sourceTree = ""; }; - 8065FE8D0FB50CCA0C4EBF9CD02DE269 /* AGVolumeControlGradientBackground.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGVolumeControlGradientBackground.swift; sourceTree = ""; }; - 814579BB67A1777158B1524F864B8949 /* AGIntervalStruct.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGIntervalStruct.swift; sourceTree = ""; }; - 8A5E204EB3C8C6D3A98F3242C8F5D2EE /* Pods-AGVolumeControlView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AGVolumeControlView_Example.debug.xcconfig"; sourceTree = ""; }; - 8AC1B814E4EE6514AE4B65BD3478C6FD /* Pods-AGVolumeControlView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AGVolumeControlView_Tests-umbrella.h"; sourceTree = ""; }; + 0DC6CB10B1BAF612CD2E4016D34558C0 /* AGCircleStruct.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGCircleStruct.swift; path = AGVolumeControlView/Classes/AGCircleStruct.swift; sourceTree = ""; }; + 11DCBBDFBDCDA9D2CEA135F10556FDAD /* Pods-AGVolumeControlView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AGVolumeControlView_Example-resources.sh"; sourceTree = ""; }; + 13FF4A937EEF50513EFAF281AEAEF8D6 /* AGVolumeControlView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AGVolumeControlView-dummy.m"; sourceTree = ""; }; + 1758124AE7A93F4E1A83BE319BD54156 /* AGVolumeControlView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AGVolumeControlView.xcconfig; sourceTree = ""; }; + 1A6372E2BF93ED65227D3284B9D7A235 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; + 2454A97195A585837270F3AAC60253C1 /* AGVolumeControlView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = AGVolumeControlView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 267776015988AFDEC72306008CEA4EBA /* UIColor+AGColoredGradient.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIColor+AGColoredGradient.swift"; path = "AGVolumeControlView/Classes/UIColor+AGColoredGradient.swift"; sourceTree = ""; }; + 29D9A73E6D85867C4C48295F2B457A70 /* Pods_AGVolumeControlView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AGVolumeControlView_Example.framework; path = "Pods-AGVolumeControlView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2C6B3F3828CC887107D9C46FA21CB730 /* AGVolumeControlView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AGVolumeControlView-prefix.pch"; sourceTree = ""; }; + 35CD131B0DD030310DDCE9DD99445A3B /* Pods-AGVolumeControlView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AGVolumeControlView_Example.release.xcconfig"; sourceTree = ""; }; + 4A28B2B2EEBC5210D81443AF85393587 /* AGVolumeControlView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = AGVolumeControlView.framework; path = AGVolumeControlView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4DC829EDB064BB6480237B8B33D92726 /* AGVolumeControlMathHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGVolumeControlMathHelper.swift; path = AGVolumeControlView/Classes/AGVolumeControlMathHelper.swift; sourceTree = ""; }; + 4FD58655AD2F8F7D9B25E73FA5D8DAC3 /* Pods-AGVolumeControlView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AGVolumeControlView_Example.modulemap"; sourceTree = ""; }; + 591C1B72C9AD133A58F8F6D49D411E65 /* AGVolumeControlDrawView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGVolumeControlDrawView.swift; path = AGVolumeControlView/Classes/AGVolumeControlDrawView.swift; sourceTree = ""; }; + 599E4B188697C17085C6C16343A4007C /* AGVolumeControl.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGVolumeControl.swift; path = AGVolumeControlView/Classes/AGVolumeControl.swift; sourceTree = ""; }; + 5D51FD0E51D6DB5775B07DF2CFD4C52C /* Pods-AGVolumeControlView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AGVolumeControlView_Example-dummy.m"; sourceTree = ""; }; + 5ECC71B609AB4D12AA4620406CAAF776 /* Pods-AGVolumeControlView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AGVolumeControlView_Example-acknowledgements.markdown"; sourceTree = ""; }; + 85CBDB5658D9F097DDA3B1D3F4026944 /* AGArcStruct.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGArcStruct.swift; path = AGVolumeControlView/Classes/AGArcStruct.swift; sourceTree = ""; }; + 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9C333369C9266164A84F49614F4F68EC /* AGVolumeControlSlider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGVolumeControlSlider.swift; sourceTree = ""; }; - A145FFE3CC77DAD218118D5FA40204BB /* Pods-AGVolumeControlView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AGVolumeControlView_Tests-acknowledgements.markdown"; sourceTree = ""; }; - A7D78E2C6D1B93BC974264BFD03F0402 /* Pods-AGVolumeControlView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AGVolumeControlView_Tests-resources.sh"; sourceTree = ""; }; - ABF7AF9A3463CCCD5D201FA0F838FEC9 /* Pods-AGVolumeControlView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AGVolumeControlView_Example-umbrella.h"; sourceTree = ""; }; - B054DA5BD354768A8150C63969376CF8 /* AGVolumeControlView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AGVolumeControlView-umbrella.h"; sourceTree = ""; }; - B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - B6C8FCEEE07347ADA9C40D53D3049B20 /* AGArcStruct.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGArcStruct.swift; sourceTree = ""; }; - BECF29E59ED256EA4A87BE726569CE89 /* AGVolumeControlView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AGVolumeControlView-prefix.pch"; sourceTree = ""; }; - C05896EEEBFD81EA4070A3FD6ED5DBD3 /* Pods-AGVolumeControlView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AGVolumeControlView_Tests.release.xcconfig"; sourceTree = ""; }; - D6B49821BCE02C3EA06E93F2ED059B83 /* Pods-AGVolumeControlView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AGVolumeControlView_Tests-dummy.m"; sourceTree = ""; }; - D87637745DCFFF3CB3130EEBD1DAEC53 /* AGVolumeControlMathHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGVolumeControlMathHelper.swift; sourceTree = ""; }; - D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - DA9DAA90ACBE68C00FBB481D53780017 /* AGVolumeControlDrawView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGVolumeControlDrawView.swift; sourceTree = ""; }; - E1694EBE564FBCE59590D8EC40D31260 /* AGVolumeControlView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = AGVolumeControlView.framework; path = AGVolumeControlView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E856C771CCC892ADD83930668A157E4F /* AGVolumeControlView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = AGVolumeControlView.modulemap; sourceTree = ""; }; - FC600B2A1E2C1330E26815AF74BFA9B3 /* AGVolumeControlView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AGVolumeControlView.xcconfig; sourceTree = ""; }; - FD17D5F0C209091A4B086139D699823B /* AGCircleStruct.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AGCircleStruct.swift; sourceTree = ""; }; + 984DF27C2E3ADAAC4DA41A50577BD3BA /* Pods-AGVolumeControlView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AGVolumeControlView_Example-frameworks.sh"; sourceTree = ""; }; + 9DB6166A7795CDD77E60A3D3A12878B3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B031D9473D2680ABC5FACE55165CCF97 /* AGVolumeControlGradientBackground.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGVolumeControlGradientBackground.swift; path = AGVolumeControlView/Classes/AGVolumeControlGradientBackground.swift; sourceTree = ""; }; + BA0A35BC536408DE6DEE7C4EA83B02A0 /* AGVolumeControlSlider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGVolumeControlSlider.swift; path = AGVolumeControlView/Classes/AGVolumeControlSlider.swift; sourceTree = ""; }; + BC2C02191C153C1554B35DEE8B2D09D4 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + C30A3189BC81264BD3A4E125C959ED09 /* AGIntervalStruct.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGIntervalStruct.swift; path = AGVolumeControlView/Classes/AGIntervalStruct.swift; sourceTree = ""; }; + C549AAC497158322EE702A938A123969 /* AGVolumeControlView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AGVolumeControlView.modulemap; sourceTree = ""; }; + CE11CCCB4EABD0610519959517B3F595 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + CE3047737FB4536198D1B0DCFEA94DE6 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + E3391A4D7ED85BC7066859C721D2CCD4 /* Pods-AGVolumeControlView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AGVolumeControlView_Example-umbrella.h"; sourceTree = ""; }; + EAF3397AFF59A6F5C8127850F3F10A32 /* AGVolumeControlView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AGVolumeControlView-umbrella.h"; sourceTree = ""; }; + EB8F63B2E693DD5B7DA0C5C55C2BAB81 /* Pods-AGVolumeControlView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AGVolumeControlView_Example.debug.xcconfig"; sourceTree = ""; }; + FBA5CAF86E2C099AD8012A73D15255F7 /* AGVolumeControlLinearGradientBackground.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AGVolumeControlLinearGradientBackground.swift; path = AGVolumeControlView/Classes/AGVolumeControlLinearGradientBackground.swift; sourceTree = ""; }; + FDF9A6A2F3E7B883DFB8C0C3DA05FC2D /* Pods-AGVolumeControlView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AGVolumeControlView_Example-acknowledgements.plist"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -89,16 +78,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 4C57AC8AAE6552006A7D771F31B235A2 /* Foundation.framework in Frameworks */, - E0CFBB81FB130C9045FF7551D078AC2B /* UIKit.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 48C6FD75EDD75EF61F3938CB945039E5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E67EF79E5C3424B7ACA464DBE9D3C981 /* Foundation.framework in Frameworks */, + 5E94939770F2DCED757A89B24E053536 /* Foundation.framework in Frameworks */, + AC914FBCED883A1A6AF7597C56C3F49B /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -106,166 +87,131 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - F3D8B17CBD8DFCA5EC8DE24371169991 /* Foundation.framework in Frameworks */, + E95E226CCF8B234B1C2FB6E7D0E001B4 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 1C8A9309BB79D772E47F54C26F30D307 /* Products */ = { - isa = PBXGroup; - children = ( - E1694EBE564FBCE59590D8EC40D31260 /* AGVolumeControlView.framework */, - 3B1090CCD90660A8D03B5113F9732090 /* Pods_AGVolumeControlView_Example.framework */, - 2E7A3AB0E33C4EBC0B0E54A876B0C429 /* Pods_AGVolumeControlView_Tests.framework */, - ); - name = Products; - sourceTree = ""; - }; - 24EB1683057BB58F68DF4C521B4744D4 /* AGVolumeControlView */ = { + 10DEDCB394BAA0C7FEDEBE330207B074 /* iOS */ = { isa = PBXGroup; children = ( - D0B2DA62C64EBA8B210AFFE8962A7C8E /* Classes */, + 908E902E026C5C22904CF9014A5604AD /* Foundation.framework */, + BC2C02191C153C1554B35DEE8B2D09D4 /* UIKit.framework */, ); - name = AGVolumeControlView; - path = AGVolumeControlView; + name = iOS; sourceTree = ""; }; 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { isa = PBXGroup; children = ( - 438B396F6B4147076630CAEFE34282C1 /* iOS */, + 10DEDCB394BAA0C7FEDEBE330207B074 /* iOS */, ); name = Frameworks; sourceTree = ""; }; - 438B396F6B4147076630CAEFE34282C1 /* iOS */ = { + 69D636ED04799A87F70C9EF2991ED275 /* Pods-AGVolumeControlView_Example */ = { isa = PBXGroup; children = ( - D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */, - B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */, + 9DB6166A7795CDD77E60A3D3A12878B3 /* Info.plist */, + 4FD58655AD2F8F7D9B25E73FA5D8DAC3 /* Pods-AGVolumeControlView_Example.modulemap */, + 5ECC71B609AB4D12AA4620406CAAF776 /* Pods-AGVolumeControlView_Example-acknowledgements.markdown */, + FDF9A6A2F3E7B883DFB8C0C3DA05FC2D /* Pods-AGVolumeControlView_Example-acknowledgements.plist */, + 5D51FD0E51D6DB5775B07DF2CFD4C52C /* Pods-AGVolumeControlView_Example-dummy.m */, + 984DF27C2E3ADAAC4DA41A50577BD3BA /* Pods-AGVolumeControlView_Example-frameworks.sh */, + 11DCBBDFBDCDA9D2CEA135F10556FDAD /* Pods-AGVolumeControlView_Example-resources.sh */, + E3391A4D7ED85BC7066859C721D2CCD4 /* Pods-AGVolumeControlView_Example-umbrella.h */, + EB8F63B2E693DD5B7DA0C5C55C2BAB81 /* Pods-AGVolumeControlView_Example.debug.xcconfig */, + 35CD131B0DD030310DDCE9DD99445A3B /* Pods-AGVolumeControlView_Example.release.xcconfig */, ); - name = iOS; + name = "Pods-AGVolumeControlView_Example"; + path = "Target Support Files/Pods-AGVolumeControlView_Example"; sourceTree = ""; }; 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - F9F606B2FDEEC0D2D069657C15233004 /* Development Pods */, + 80E31ABDD06A59DECF219264DE72D46A /* Development Pods */, 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, - 1C8A9309BB79D772E47F54C26F30D307 /* Products */, - E7C62847BCA2D0D86C69E0883C5D133C /* Targets Support Files */, + B310A0AF5D50B8D8042497FCF7573138 /* Products */, + F99D4EB03D428D8E9021FB769976EF74 /* Targets Support Files */, ); sourceTree = ""; }; - 7F4FC96BAADF5B9E60C30F3438CF1DB7 /* Support Files */ = { + 80E31ABDD06A59DECF219264DE72D46A /* Development Pods */ = { isa = PBXGroup; children = ( - E856C771CCC892ADD83930668A157E4F /* AGVolumeControlView.modulemap */, - FC600B2A1E2C1330E26815AF74BFA9B3 /* AGVolumeControlView.xcconfig */, - 0E7894CC8D82DDE2053796012C5E9821 /* AGVolumeControlView-dummy.m */, - BECF29E59ED256EA4A87BE726569CE89 /* AGVolumeControlView-prefix.pch */, - B054DA5BD354768A8150C63969376CF8 /* AGVolumeControlView-umbrella.h */, - 314E696C110367ABA9D2E9DC2B64EA51 /* Info.plist */, + D3E1EC409C7283AE2D71AA338D2A5AB0 /* AGVolumeControlView */, ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/AGVolumeControlView"; + name = "Development Pods"; sourceTree = ""; }; - A4970E8F97824A00CD6B80A7A3358961 /* Pods-AGVolumeControlView_Example */ = { + 8DBA229613CE04F8E6C063565B0AE049 /* Support Files */ = { isa = PBXGroup; children = ( - 2B3EA8043660E6C853F53FDC3A8C124D /* Info.plist */, - 5DDCF0E25D9B6DA84A6DFA08B842D86C /* Pods-AGVolumeControlView_Example.modulemap */, - 5723F0853EFDB74D22F83C33840D30C4 /* Pods-AGVolumeControlView_Example-acknowledgements.markdown */, - 723A8171C5AFC8BA68D6CED3B8E527BA /* Pods-AGVolumeControlView_Example-acknowledgements.plist */, - 5432060781A28D060A37F122DE64C6A2 /* Pods-AGVolumeControlView_Example-dummy.m */, - 7E7A3889A6C77DF6407E3C239A38F988 /* Pods-AGVolumeControlView_Example-frameworks.sh */, - 013DF16A961C65BD434AB8FBF9DFEE57 /* Pods-AGVolumeControlView_Example-resources.sh */, - ABF7AF9A3463CCCD5D201FA0F838FEC9 /* Pods-AGVolumeControlView_Example-umbrella.h */, - 8A5E204EB3C8C6D3A98F3242C8F5D2EE /* Pods-AGVolumeControlView_Example.debug.xcconfig */, - 260F12EC03B8E0CEFDA10D91EAF0F00F /* Pods-AGVolumeControlView_Example.release.xcconfig */, + C549AAC497158322EE702A938A123969 /* AGVolumeControlView.modulemap */, + 1758124AE7A93F4E1A83BE319BD54156 /* AGVolumeControlView.xcconfig */, + 13FF4A937EEF50513EFAF281AEAEF8D6 /* AGVolumeControlView-dummy.m */, + 2C6B3F3828CC887107D9C46FA21CB730 /* AGVolumeControlView-prefix.pch */, + EAF3397AFF59A6F5C8127850F3F10A32 /* AGVolumeControlView-umbrella.h */, + CE11CCCB4EABD0610519959517B3F595 /* Info.plist */, ); - name = "Pods-AGVolumeControlView_Example"; - path = "Target Support Files/Pods-AGVolumeControlView_Example"; + name = "Support Files"; + path = "Example/Pods/Target Support Files/AGVolumeControlView"; sourceTree = ""; }; - AF83AB58DF0FF61BE6144C6BEE3E3970 /* AGVolumeControlView */ = { + B0275ABE003E11E2A625D617B1B0674C /* Pod */ = { isa = PBXGroup; children = ( - 24EB1683057BB58F68DF4C521B4744D4 /* AGVolumeControlView */, - 7F4FC96BAADF5B9E60C30F3438CF1DB7 /* Support Files */, + 2454A97195A585837270F3AAC60253C1 /* AGVolumeControlView.podspec */, + 1A6372E2BF93ED65227D3284B9D7A235 /* LICENSE */, + CE3047737FB4536198D1B0DCFEA94DE6 /* README.md */, ); - name = AGVolumeControlView; - path = ../..; + name = Pod; sourceTree = ""; }; - CD00B25013ED12E70844D32801DF2149 /* Pods-AGVolumeControlView_Tests */ = { + B310A0AF5D50B8D8042497FCF7573138 /* Products */ = { isa = PBXGroup; children = ( - 36F96EBFBBCF794B680AB56E5EBAA229 /* Info.plist */, - 30EAE6FEE4906378C3128BCC9287F852 /* Pods-AGVolumeControlView_Tests.modulemap */, - A145FFE3CC77DAD218118D5FA40204BB /* Pods-AGVolumeControlView_Tests-acknowledgements.markdown */, - 43CE81797E3EA6E0756A25A6E87A0907 /* Pods-AGVolumeControlView_Tests-acknowledgements.plist */, - D6B49821BCE02C3EA06E93F2ED059B83 /* Pods-AGVolumeControlView_Tests-dummy.m */, - 1CBBFBD291C366B35CFBD0F52A9D92C4 /* Pods-AGVolumeControlView_Tests-frameworks.sh */, - A7D78E2C6D1B93BC974264BFD03F0402 /* Pods-AGVolumeControlView_Tests-resources.sh */, - 8AC1B814E4EE6514AE4B65BD3478C6FD /* Pods-AGVolumeControlView_Tests-umbrella.h */, - 29FAAC5BEF1D557694DC6703451C3FC7 /* Pods-AGVolumeControlView_Tests.debug.xcconfig */, - C05896EEEBFD81EA4070A3FD6ED5DBD3 /* Pods-AGVolumeControlView_Tests.release.xcconfig */, + 4A28B2B2EEBC5210D81443AF85393587 /* AGVolumeControlView.framework */, + 29D9A73E6D85867C4C48295F2B457A70 /* Pods_AGVolumeControlView_Example.framework */, ); - name = "Pods-AGVolumeControlView_Tests"; - path = "Target Support Files/Pods-AGVolumeControlView_Tests"; + name = Products; sourceTree = ""; }; - D0B2DA62C64EBA8B210AFFE8962A7C8E /* Classes */ = { + D3E1EC409C7283AE2D71AA338D2A5AB0 /* AGVolumeControlView */ = { isa = PBXGroup; children = ( - B6C8FCEEE07347ADA9C40D53D3049B20 /* AGArcStruct.swift */, - FD17D5F0C209091A4B086139D699823B /* AGCircleStruct.swift */, - 814579BB67A1777158B1524F864B8949 /* AGIntervalStruct.swift */, - 2343FFF08169732A040C422112CAF6B4 /* AGVolumeControl.swift */, - DA9DAA90ACBE68C00FBB481D53780017 /* AGVolumeControlDrawView.swift */, - 8065FE8D0FB50CCA0C4EBF9CD02DE269 /* AGVolumeControlGradientBackground.swift */, - 6DE7B0A0217E486190410478D4F7D677 /* AGVolumeControlLinearGradientBackground.swift */, - D87637745DCFFF3CB3130EEBD1DAEC53 /* AGVolumeControlMathHelper.swift */, - 9C333369C9266164A84F49614F4F68EC /* AGVolumeControlSlider.swift */, - 2820E0A86D540BD667970B4974AD2CDE /* UIColor+AGColoredGradient.swift */, + 85CBDB5658D9F097DDA3B1D3F4026944 /* AGArcStruct.swift */, + 0DC6CB10B1BAF612CD2E4016D34558C0 /* AGCircleStruct.swift */, + C30A3189BC81264BD3A4E125C959ED09 /* AGIntervalStruct.swift */, + 599E4B188697C17085C6C16343A4007C /* AGVolumeControl.swift */, + 591C1B72C9AD133A58F8F6D49D411E65 /* AGVolumeControlDrawView.swift */, + B031D9473D2680ABC5FACE55165CCF97 /* AGVolumeControlGradientBackground.swift */, + FBA5CAF86E2C099AD8012A73D15255F7 /* AGVolumeControlLinearGradientBackground.swift */, + 4DC829EDB064BB6480237B8B33D92726 /* AGVolumeControlMathHelper.swift */, + BA0A35BC536408DE6DEE7C4EA83B02A0 /* AGVolumeControlSlider.swift */, + 267776015988AFDEC72306008CEA4EBA /* UIColor+AGColoredGradient.swift */, + B0275ABE003E11E2A625D617B1B0674C /* Pod */, + 8DBA229613CE04F8E6C063565B0AE049 /* Support Files */, ); - name = Classes; - path = Classes; + name = AGVolumeControlView; + path = ../..; sourceTree = ""; }; - E7C62847BCA2D0D86C69E0883C5D133C /* Targets Support Files */ = { + F99D4EB03D428D8E9021FB769976EF74 /* Targets Support Files */ = { isa = PBXGroup; children = ( - A4970E8F97824A00CD6B80A7A3358961 /* Pods-AGVolumeControlView_Example */, - CD00B25013ED12E70844D32801DF2149 /* Pods-AGVolumeControlView_Tests */, + 69D636ED04799A87F70C9EF2991ED275 /* Pods-AGVolumeControlView_Example */, ); name = "Targets Support Files"; sourceTree = ""; }; - F9F606B2FDEEC0D2D069657C15233004 /* Development Pods */ = { - isa = PBXGroup; - children = ( - AF83AB58DF0FF61BE6144C6BEE3E3970 /* AGVolumeControlView */, - ); - name = "Development Pods"; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 47547A6FD204BC19F529B317D129078C /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7070E4AB0DEA82F911F2359AE6C97490 /* Pods-AGVolumeControlView_Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; C32B662361FEFF502D52A89CE6992012 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -285,28 +231,11 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 4D1A06287720C050C67A72FFA1E2A98F /* Pods-AGVolumeControlView_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 9865B9E73460AB9354606A5FBA1930A2 /* Build configuration list for PBXNativeTarget "Pods-AGVolumeControlView_Tests" */; - buildPhases = ( - C835BFBB0D708DD066DFBB9446B064A9 /* Sources */, - 48C6FD75EDD75EF61F3938CB945039E5 /* Frameworks */, - 47547A6FD204BC19F529B317D129078C /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Pods-AGVolumeControlView_Tests"; - productName = "Pods-AGVolumeControlView_Tests"; - productReference = 2E7A3AB0E33C4EBC0B0E54A876B0C429 /* Pods_AGVolumeControlView_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; 7E8F4080D914C5132EF1832E253E0749 /* AGVolumeControlView */ = { isa = PBXNativeTarget; buildConfigurationList = 8E7D2ECF1A50C464335A1D6157242B9A /* Build configuration list for PBXNativeTarget "AGVolumeControlView" */; buildPhases = ( - A5BC7F6DFF6A77C754295CC1445FCC36 /* Sources */, + F1DAFECF2EA687B0CC416EB89E6D49B6 /* Sources */, 080A3DA3028ECE830B0E7521CEC29E27 /* Frameworks */, FBD0721940FB81943C45F773BD1843C6 /* Headers */, ); @@ -316,7 +245,7 @@ ); name = AGVolumeControlView; productName = AGVolumeControlView; - productReference = E1694EBE564FBCE59590D8EC40D31260 /* AGVolumeControlView.framework */; + productReference = 4A28B2B2EEBC5210D81443AF85393587 /* AGVolumeControlView.framework */; productType = "com.apple.product-type.framework"; }; 8EEFE9A056A225C4069A7B50F0FDDBA0 /* Pods-AGVolumeControlView_Example */ = { @@ -334,7 +263,7 @@ ); name = "Pods-AGVolumeControlView_Example"; productName = "Pods-AGVolumeControlView_Example"; - productReference = 3B1090CCD90660A8D03B5113F9732090 /* Pods_AGVolumeControlView_Example.framework */; + productReference = 29D9A73E6D85867C4C48295F2B457A70 /* Pods_AGVolumeControlView_Example.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -343,8 +272,8 @@ D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0700; + LastSwiftUpdateCheck = 0930; + LastUpgradeCheck = 0930; }; buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; @@ -354,49 +283,40 @@ en, ); mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 1C8A9309BB79D772E47F54C26F30D307 /* Products */; + productRefGroup = B310A0AF5D50B8D8042497FCF7573138 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 7E8F4080D914C5132EF1832E253E0749 /* AGVolumeControlView */, 8EEFE9A056A225C4069A7B50F0FDDBA0 /* Pods-AGVolumeControlView_Example */, - 4D1A06287720C050C67A72FFA1E2A98F /* Pods-AGVolumeControlView_Tests */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ - A5BC7F6DFF6A77C754295CC1445FCC36 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1E566B4E9F23D399176666A6FC69AE87 /* AGArcStruct.swift in Sources */, - 92A79264EC784E6803B4949CCB553395 /* AGCircleStruct.swift in Sources */, - F9B0876496D5252967F17DA7B406DBAF /* AGIntervalStruct.swift in Sources */, - C720139C0126B203BFC476F0E435B6C3 /* AGVolumeControl.swift in Sources */, - 37F511F8307F88AEB661957B319C4B6B /* AGVolumeControlDrawView.swift in Sources */, - 4D1C284B009F4EF864FDC61A75459018 /* AGVolumeControlGradientBackground.swift in Sources */, - B0618794D3BC2AEB16758E8D82F7FE9E /* AGVolumeControlLinearGradientBackground.swift in Sources */, - 86D2E30E1DB9EE6F50A7228723DACE84 /* AGVolumeControlMathHelper.swift in Sources */, - 290831E32DE89FA921E2C12D12103E26 /* AGVolumeControlSlider.swift in Sources */, - F73F5D56C102C53D4D39327E99398E15 /* AGVolumeControlView-dummy.m in Sources */, - 56F2894D85A7057999885765698A7679 /* UIColor+AGColoredGradient.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C835BFBB0D708DD066DFBB9446B064A9 /* Sources */ = { + EFE218BA58786489918B9D05ADF754F0 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 472D575D18B9C924CA7E65478100EA2C /* Pods-AGVolumeControlView_Tests-dummy.m in Sources */, + 66855D84E1AF87F92F32488AE7BB2044 /* Pods-AGVolumeControlView_Example-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - EFE218BA58786489918B9D05ADF754F0 /* Sources */ = { + F1DAFECF2EA687B0CC416EB89E6D49B6 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 66855D84E1AF87F92F32488AE7BB2044 /* Pods-AGVolumeControlView_Example-dummy.m in Sources */, + 7F86D02BDE7EB97DA80AA86235F64E8D /* AGArcStruct.swift in Sources */, + 46D0A91D347BBEBDE3CF4D7CEA7692E4 /* AGCircleStruct.swift in Sources */, + F1F6D840FA5E9439FDA2DABC84E4D4E6 /* AGIntervalStruct.swift in Sources */, + E106B6DDD7DA396F76085EB27B771FE5 /* AGVolumeControl.swift in Sources */, + 2E06D34A737DB5C0BA9BBBF0A3B599C7 /* AGVolumeControlDrawView.swift in Sources */, + E67A16505FAA2EDB6CDFECF9AB8C115D /* AGVolumeControlGradientBackground.swift in Sources */, + F40EC9001D315F005B399E2DBF1A3E38 /* AGVolumeControlLinearGradientBackground.swift in Sources */, + 0B6A574ECECAD4B8DF9B15362851B05F /* AGVolumeControlMathHelper.swift in Sources */, + 20A3FA649674A6BE7000208232A791F4 /* AGVolumeControlSlider.swift in Sources */, + F752FCB1A1A50129859E0C9B86BD41E0 /* AGVolumeControlView-dummy.m in Sources */, + 0A56D54B4E54A01D79993ABA8F66BBCB /* UIColor+AGColoredGradient.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -412,324 +332,270 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 03F70C292B89019486A9C6FF51FAEF85 /* Release */ = { + 199D972A13F2B4C56847F7A89CCA83BC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_ALLOWED = NO; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "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 = 9.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 822314CF4AF2143D8AB8F47159CBE296 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FC600B2A1E2C1330E26815AF74BFA9B3 /* AGVolumeControlView.xcconfig */; + baseConfigurationReference = 1758124AE7A93F4E1A83BE319BD54156 /* AGVolumeControlView.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; GCC_PREFIX_HEADER = "Target Support Files/AGVolumeControlView/AGVolumeControlView-prefix.pch"; INFOPLIST_FILE = "Target Support Files/AGVolumeControlView/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MODULEMAP_FILE = "Target Support Files/AGVolumeControlView/AGVolumeControlView.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_MODULE_NAME = AGVolumeControlView; PRODUCT_NAME = AGVolumeControlView; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; - 215F85DC165AB723512190BAEDFDB13D /* Debug */ = { + BC2A9A73909CB184CDA306F6B17DC408 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8A5E204EB3C8C6D3A98F3242C8F5D2EE /* Pods-AGVolumeControlView_Example.debug.xcconfig */; + baseConfigurationReference = EB8F63B2E693DD5B7DA0C5C55C2BAB81 /* Pods-AGVolumeControlView_Example.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-AGVolumeControlView_Example/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_AGVolumeControlView_Example; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - 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_OBJC_ROOT_CLASS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - ONLY_ACTIVE_ARCH = YES; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - 3FD6A03B2CB30853E242C015ECAD21A7 /* Release */ = { + C1DC32304B2BE458C8684FD51D342530 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = C05896EEEBFD81EA4070A3FD6ED5DBD3 /* Pods-AGVolumeControlView_Tests.release.xcconfig */; + baseConfigurationReference = 1758124AE7A93F4E1A83BE319BD54156 /* AGVolumeControlView.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-AGVolumeControlView_Tests/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/AGVolumeControlView/AGVolumeControlView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/AGVolumeControlView/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_AGVolumeControlView_Tests; + MODULEMAP_FILE = "Target Support Files/AGVolumeControlView/AGVolumeControlView.modulemap"; + PRODUCT_MODULE_NAME = AGVolumeControlView; + PRODUCT_NAME = AGVolumeControlView; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 6453E11CA4C468C0C186E2FFECE5F94A /* Debug */ = { + E3AAFE5856F3B8CF79EC5B6B7A78B2C3 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 29FAAC5BEF1D557694DC6703451C3FC7 /* Pods-AGVolumeControlView_Tests.debug.xcconfig */; + baseConfigurationReference = 35CD131B0DD030310DDCE9DD99445A3B /* Pods-AGVolumeControlView_Example.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-AGVolumeControlView_Tests/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AGVolumeControlView_Example/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; + MODULEMAP_FILE = "Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_AGVolumeControlView_Tests; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 717E77604BFBB04BEAF56608A1CB2EDE /* Release */ = { + FDB2FC4A1E5891381CD9D922145497F1 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = 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_OBJC_ROOT_CLASS = 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_ALLOWED = NO; CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; GCC_PREPROCESSOR_DEFINITIONS = ( "POD_CONFIGURATION_RELEASE=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 9B358793E15C240DEF65244A2D6B3537 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 260F12EC03B8E0CEFDA10D91EAF0F00F /* Pods-AGVolumeControlView_Example.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-AGVolumeControlView_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_AGVolumeControlView_Example; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Release; }; - BA4B15442EACCC086AEA3074777E1C14 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FC600B2A1E2C1330E26815AF74BFA9B3 /* AGVolumeControlView.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/AGVolumeControlView/AGVolumeControlView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/AGVolumeControlView/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/AGVolumeControlView/AGVolumeControlView.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = AGVolumeControlView; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 2B48CFAFC7F71BE7B5165CE8D3CD2273 /* Build configuration list for PBXNativeTarget "Pods-AGVolumeControlView_Example" */ = { isa = XCConfigurationList; buildConfigurations = ( - 215F85DC165AB723512190BAEDFDB13D /* Debug */, - 9B358793E15C240DEF65244A2D6B3537 /* Release */, + BC2A9A73909CB184CDA306F6B17DC408 /* Debug */, + E3AAFE5856F3B8CF79EC5B6B7A78B2C3 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -737,8 +603,8 @@ 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */, - 717E77604BFBB04BEAF56608A1CB2EDE /* Release */, + 199D972A13F2B4C56847F7A89CCA83BC /* Debug */, + FDB2FC4A1E5891381CD9D922145497F1 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -746,17 +612,8 @@ 8E7D2ECF1A50C464335A1D6157242B9A /* Build configuration list for PBXNativeTarget "AGVolumeControlView" */ = { isa = XCConfigurationList; buildConfigurations = ( - BA4B15442EACCC086AEA3074777E1C14 /* Debug */, - 03F70C292B89019486A9C6FF51FAEF85 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 9865B9E73460AB9354606A5FBA1930A2 /* Build configuration list for PBXNativeTarget "Pods-AGVolumeControlView_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6453E11CA4C468C0C186E2FFECE5F94A /* Debug */, - 3FD6A03B2CB30853E242C015ECAD21A7 /* Release */, + C1DC32304B2BE458C8684FD51D342530 /* Debug */, + 822314CF4AF2143D8AB8F47159CBE296 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Example/Pods/Target Support Files/AGVolumeControlView/AGVolumeControlView.xcconfig b/Example/Pods/Target Support Files/AGVolumeControlView/AGVolumeControlView.xcconfig index 45ae300..1ffd348 100644 --- a/Example/Pods/Target Support Files/AGVolumeControlView/AGVolumeControlView.xcconfig +++ b/Example/Pods/Target Support Files/AGVolumeControlView/AGVolumeControlView.xcconfig @@ -1,10 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AGVolumeControlView GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" OTHER_LDFLAGS = -framework "UIKit" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-frameworks.sh index 5cd8ffb..8d650cd 100755 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-frameworks.sh @@ -1,11 +1,28 @@ #!/bin/sh set -e +set -u +set -o pipefail + +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 +fi echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -23,9 +40,9 @@ install_framework() source="$(readlink "${source}")" fi - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" local basename basename="$(basename -s .framework "$1")" @@ -54,12 +71,40 @@ install_framework() fi } +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi + fi +} + # Signs a framework with the provided identity code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then code_sign_cmd="$code_sign_cmd &" @@ -72,11 +117,19 @@ code_sign_if_enabled() { # Strip invalid architectures strip_invalid_archs() { binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 stripped="$stripped $arch" @@ -85,14 +138,15 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi + STRIP_BINARY_RETVAL=1 } if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "$BUILT_PRODUCTS_DIR/AGVolumeControlView/AGVolumeControlView.framework" + install_framework "${BUILT_PRODUCTS_DIR}/AGVolumeControlView/AGVolumeControlView.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "$BUILT_PRODUCTS_DIR/AGVolumeControlView/AGVolumeControlView.framework" + install_framework "${BUILT_PRODUCTS_DIR}/AGVolumeControlView/AGVolumeControlView.framework" fi if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then wait diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-resources.sh b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-resources.sh index aed060f..345301f 100755 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-resources.sh +++ b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example-resources.sh @@ -1,5 +1,13 @@ #!/bin/sh set -e +set -u +set -o pipefail + +if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then + # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy + # resources to, so exit 0 (signalling the script phase was successful). + exit 0 +fi mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" @@ -8,7 +16,11 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt XCASSET_FILES=() -case "${TARGETED_DEVICE_FAMILY}" in +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY:-}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; @@ -44,29 +56,29 @@ EOM fi case $RESOURCE_PATH in *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) @@ -74,7 +86,7 @@ EOM XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; *) - echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" || true echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac @@ -88,7 +100,7 @@ if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then fi rm -f "$RESOURCES_TO_COPY" -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] then # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) @@ -98,5 +110,9 @@ then fi done <<<"$OTHER_XCASSETS" - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + else + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" + fi fi diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.debug.xcconfig index 7f162d1..3076515 100644 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.debug.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AGVolumeControlView" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView/AGVolumeControlView.framework/Headers" +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AGVolumeControlView/AGVolumeControlView.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "AGVolumeControlView" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.release.xcconfig index 7f162d1..3076515 100644 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Example/Pods-AGVolumeControlView_Example.release.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AGVolumeControlView" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView/AGVolumeControlView.framework/Headers" +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AGVolumeControlView/AGVolumeControlView.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "AGVolumeControlView" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-acknowledgements.markdown deleted file mode 100644 index 102af75..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-acknowledgements.markdown +++ /dev/null @@ -1,3 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-acknowledgements.plist deleted file mode 100644 index 7acbad1..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-acknowledgements.plist +++ /dev/null @@ -1,29 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-dummy.m deleted file mode 100644 index 6ad5df1..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_AGVolumeControlView_Tests : NSObject -@end -@implementation PodsDummy_Pods_AGVolumeControlView_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-frameworks.sh deleted file mode 100755 index 0f29f13..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-frameworks.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-resources.sh deleted file mode 100755 index aed060f..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-resources.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-umbrella.h deleted file mode 100644 index 8a94523..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_AGVolumeControlView_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_AGVolumeControlView_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.debug.xcconfig deleted file mode 100644 index 49db060..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView/AGVolumeControlView.framework/Headers" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.modulemap b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.modulemap deleted file mode 100644 index 29dde94..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_AGVolumeControlView_Tests { - umbrella header "Pods-AGVolumeControlView_Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.release.xcconfig deleted file mode 100644 index 49db060..0000000 --- a/Example/Pods/Target Support Files/Pods-AGVolumeControlView_Tests/Pods-AGVolumeControlView_Tests.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AGVolumeControlView/AGVolumeControlView.framework/Headers" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Example/Tests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift deleted file mode 100644 index f9b86ec..0000000 --- a/Example/Tests/Tests.swift +++ /dev/null @@ -1,29 +0,0 @@ -import UIKit -import XCTest -import AGVolumeControlView - -class Tests: XCTestCase { - - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - - func testExample() { - // This is an example of a functional test case. - XCTAssert(true, "Pass") - } - - func testPerformanceExample() { - // This is an example of a performance test case. - self.measure() { - // Put the code you want to measure the time of here. - } - } - -}