From d650324c9b94c50964ebaf1bc2fd72747b999e2f Mon Sep 17 00:00:00 2001 From: Max K <31866271+havebeenfitz@users.noreply.github.com> Date: Wed, 1 Nov 2023 00:00:52 +0400 Subject: [PATCH] Make bottom sheet views open (#4) * Make bottomSheet views open * Bump lib version * Update for spm * Xcode 15 update * Fix readme --- AnchoredBottomSheet.podspec | 4 +- .../project.pbxproj | 132 +++++++++------ .../AnchoredBottomSheet-Example.xcscheme | 2 +- Example/Podfile.lock | 6 +- .../AnchoredBottomSheet.podspec.json | 8 +- Example/Pods/Manifest.lock | 6 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 158 ++++++++++-------- .../contents.xcworkspacedata | 4 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcschemes/AnchoredBottomSheet.xcscheme | 58 ------- .../AnchoredBottomSheet-Info.plist | 4 +- .../AnchoredBottomSheet.debug.xcconfig | 3 +- .../AnchoredBottomSheet.release.xcconfig | 3 +- .../AnchoredBottomSheet.xcconfig | 11 -- ...BottomSheet-AnchoredBottomSheet-Info.plist | 24 --- ...ods-AnchoredBottomSheet_Example-Info.plist | 2 +- ...-AnchoredBottomSheet_Example-frameworks.sh | 4 +- ...s-AnchoredBottomSheet_Example-resources.sh | 129 -------------- ...AnchoredBottomSheet_Example.debug.xcconfig | 2 +- ...choredBottomSheet_Example.release.xcconfig | 2 +- .../Pods-AnchoredBottomSheet_Tests-Info.plist | 2 +- Package.swift | 2 +- README.md | 10 +- .../AnchoredBottomSheet/BottomSheetView.swift | 4 +- .../BottomSheetViewConfiguration.swift | 2 +- .../BottomSheetViewController.swift | 4 +- _Pods.xcodeproj | 1 - 27 files changed, 209 insertions(+), 386 deletions(-) delete mode 100644 Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet.xcscheme delete mode 100644 Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.xcconfig delete mode 100644 Example/Pods/Target Support Files/AnchoredBottomSheet/ResourceBundle-AnchoredBottomSheet-AnchoredBottomSheet-Info.plist delete mode 100755 Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-resources.sh delete mode 120000 _Pods.xcodeproj diff --git a/AnchoredBottomSheet.podspec b/AnchoredBottomSheet.podspec index aaa0acd..d10d4e7 100644 --- a/AnchoredBottomSheet.podspec +++ b/AnchoredBottomSheet.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AnchoredBottomSheet' - s.version = '1.6.2' + s.version = '1.6.3' s.summary = 'iOS Maps like bottom sheet with configurable anchors and reusable pannable View' s.description = <<-DESC @@ -13,7 +13,7 @@ This small library tries to achieve this goals: s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'havebeenfitz' => 'max.kraev@gmail.com' } s.source = { :git => 'https://github.com/havebeenfitz/anchoredbottomsheet.git', :tag => s.version.to_s } - s.swift_versions = '5.0' + s.swift_versions = '5.7' s.ios.deployment_target = '12.0' s.source_files = 'Sources/AnchoredBottomSheet/**/*' diff --git a/Example/AnchoredBottomSheet.xcodeproj/project.pbxproj b/Example/AnchoredBottomSheet.xcodeproj/project.pbxproj index 1092683..9e69dc3 100644 --- a/Example/AnchoredBottomSheet.xcodeproj/project.pbxproj +++ b/Example/AnchoredBottomSheet.xcodeproj/project.pbxproj @@ -3,18 +3,18 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ + 1E1657D7FD7C62D7557838B7 /* Pods_AnchoredBottomSheet_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C0345BDC8FAFE969B407A90 /* Pods_AnchoredBottomSheet_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 */; }; - 6121245355D0CF5A8F9BD71A /* Pods_AnchoredBottomSheet_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FE882343F97C312DDF716D9 /* Pods_AnchoredBottomSheet_Tests.framework */; }; - 68C5D9F26574352F8B99ADD2 /* Pods_AnchoredBottomSheet_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54F3B67AE4F3F4B7E541B682 /* Pods_AnchoredBottomSheet_Example.framework */; }; + 69B2F3F78924F3DC0F90B828 /* Pods_AnchoredBottomSheet_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35CFF02B6A4770DDC5DAA238 /* Pods_AnchoredBottomSheet_Tests.framework */; }; E4055F9323D49E5900F69638 /* ExampleTableViewDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4055F9223D49E5900F69638 /* ExampleTableViewDataSource.swift */; }; E4FC4C4723D607490003E4EF /* SplitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4FC4C4623D607490003E4EF /* SplitViewController.swift */; }; /* End PBXBuildFile section */ @@ -30,10 +30,10 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 2FE882343F97C312DDF716D9 /* Pods_AnchoredBottomSheet_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnchoredBottomSheet_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 29B5A39DC26E3503B31C0F15 /* Pods-AnchoredBottomSheet_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Tests.debug.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests.debug.xcconfig"; sourceTree = ""; }; + 319D7104BBB91FFEFA9190AC /* Pods-AnchoredBottomSheet_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Example.debug.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.debug.xcconfig"; sourceTree = ""; }; + 35CFF02B6A4770DDC5DAA238 /* Pods_AnchoredBottomSheet_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnchoredBottomSheet_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 3A69CC7D8BC6FBEAE899ED41 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 491959A6EC54D8E4ECFCB3D2 /* Pods-AnchoredBottomSheet_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Example.release.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.release.xcconfig"; sourceTree = ""; }; - 54F3B67AE4F3F4B7E541B682 /* Pods_AnchoredBottomSheet_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnchoredBottomSheet_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD01AFB9204008FA782 /* AnchoredBottomSheet_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AnchoredBottomSheet_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 = ""; }; @@ -44,14 +44,14 @@ 607FACE51AFB9204008FA782 /* AnchoredBottomSheet_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AnchoredBottomSheet_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 = ""; }; - 6DBDA82A7319328A221DAAAE /* Pods-AnchoredBottomSheet_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Tests.debug.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests.debug.xcconfig"; sourceTree = ""; }; + 6203A712A409CD0AF2AF9152 /* Pods-AnchoredBottomSheet_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Example.release.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.release.xcconfig"; sourceTree = ""; }; + 688CE897B6986242CD4C87AA /* Pods-AnchoredBottomSheet_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Tests.release.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests.release.xcconfig"; sourceTree = ""; }; + 8C0345BDC8FAFE969B407A90 /* Pods_AnchoredBottomSheet_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnchoredBottomSheet_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; CE54F6ED607AE13FFBE9120A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - D6CC9C4F8DB4F8DFB79A3377 /* Pods-AnchoredBottomSheet_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Tests.release.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests.release.xcconfig"; sourceTree = ""; }; E4055F9223D49E5900F69638 /* ExampleTableViewDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleTableViewDataSource.swift; sourceTree = ""; }; E4055F9823D4A1D800F69638 /* AnchoredBottomSheet.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = AnchoredBottomSheet.framework; sourceTree = BUILT_PRODUCTS_DIR; }; E4FC4C4623D607490003E4EF /* SplitViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplitViewController.swift; sourceTree = ""; }; EE73E4508CC93EBC20911AE9 /* AnchoredBottomSheet.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AnchoredBottomSheet.podspec; path = ../AnchoredBottomSheet.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - F1611D96813814F41D460399 /* Pods-AnchoredBottomSheet_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnchoredBottomSheet_Example.debug.xcconfig"; path = "Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -59,7 +59,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 68C5D9F26574352F8B99ADD2 /* Pods_AnchoredBottomSheet_Example.framework in Frameworks */, + 1E1657D7FD7C62D7557838B7 /* Pods_AnchoredBottomSheet_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -67,7 +67,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 6121245355D0CF5A8F9BD71A /* Pods_AnchoredBottomSheet_Tests.framework in Frameworks */, + 69B2F3F78924F3DC0F90B828 /* Pods_AnchoredBottomSheet_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -149,10 +149,10 @@ 67D1343FF03C60FA0ACD770C /* Pods */ = { isa = PBXGroup; children = ( - F1611D96813814F41D460399 /* Pods-AnchoredBottomSheet_Example.debug.xcconfig */, - 491959A6EC54D8E4ECFCB3D2 /* Pods-AnchoredBottomSheet_Example.release.xcconfig */, - 6DBDA82A7319328A221DAAAE /* Pods-AnchoredBottomSheet_Tests.debug.xcconfig */, - D6CC9C4F8DB4F8DFB79A3377 /* Pods-AnchoredBottomSheet_Tests.release.xcconfig */, + 319D7104BBB91FFEFA9190AC /* Pods-AnchoredBottomSheet_Example.debug.xcconfig */, + 6203A712A409CD0AF2AF9152 /* Pods-AnchoredBottomSheet_Example.release.xcconfig */, + 29B5A39DC26E3503B31C0F15 /* Pods-AnchoredBottomSheet_Tests.debug.xcconfig */, + 688CE897B6986242CD4C87AA /* Pods-AnchoredBottomSheet_Tests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -161,8 +161,8 @@ isa = PBXGroup; children = ( E4055F9823D4A1D800F69638 /* AnchoredBottomSheet.framework */, - 54F3B67AE4F3F4B7E541B682 /* Pods_AnchoredBottomSheet_Example.framework */, - 2FE882343F97C312DDF716D9 /* Pods_AnchoredBottomSheet_Tests.framework */, + 8C0345BDC8FAFE969B407A90 /* Pods_AnchoredBottomSheet_Example.framework */, + 35CFF02B6A4770DDC5DAA238 /* Pods_AnchoredBottomSheet_Tests.framework */, ); name = Frameworks; sourceTree = ""; @@ -182,11 +182,11 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AnchoredBottomSheet_Example" */; buildPhases = ( - EDCD8686F5BB1BF6E89D14E3 /* [CP] Check Pods Manifest.lock */, + 3E22269968A3BB3928817BE8 /* [CP] Check Pods Manifest.lock */, 607FACCC1AFB9204008FA782 /* Sources */, 607FACCD1AFB9204008FA782 /* Frameworks */, 607FACCE1AFB9204008FA782 /* Resources */, - 4474032BC1B28C153BE6B420 /* [CP] Embed Pods Frameworks */, + 358FB809E93C5DA017121E3F /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -201,7 +201,7 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AnchoredBottomSheet_Tests" */; buildPhases = ( - 9A971AB8CC67DDB8D6C3CEE3 /* [CP] Check Pods Manifest.lock */, + 25CD4494AE72221831747D08 /* [CP] Check Pods Manifest.lock */, 607FACE11AFB9204008FA782 /* Sources */, 607FACE21AFB9204008FA782 /* Frameworks */, 607FACE31AFB9204008FA782 /* Resources */, @@ -222,8 +222,9 @@ 607FACC81AFB9204008FA782 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 1320; + LastUpgradeCheck = 1500; ORGANIZATIONNAME = CocoaPods; TargetAttributes = { 607FACCF1AFB9204008FA782 = { @@ -277,47 +278,47 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 4474032BC1B28C153BE6B420 /* [CP] Embed Pods Frameworks */ = { + 25CD4494AE72221831747D08 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/AnchoredBottomSheet/AnchoredBottomSheet.framework", + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AnchoredBottomSheet.framework", + "$(DERIVED_FILE_DIR)/Pods-AnchoredBottomSheet_Tests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.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; }; - 9A971AB8CC67DDB8D6C3CEE3 /* [CP] Check Pods Manifest.lock */ = { + 358FB809E93C5DA017121E3F /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); - inputFileListPaths = ( - ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/AnchoredBottomSheet/AnchoredBottomSheet.framework", ); + name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AnchoredBottomSheet_Tests-checkManifestLockResult.txt", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AnchoredBottomSheet.framework", ); 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - EDCD8686F5BB1BF6E89D14E3 /* [CP] Check Pods Manifest.lock */ = { + 3E22269968A3BB3928817BE8 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -425,6 +426,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -482,6 +484,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -493,47 +496,65 @@ IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; VALIDATE_PRODUCT = YES; }; name = Release; }; 607FACF01AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F1611D96813814F41D460399 /* Pods-AnchoredBottomSheet_Example.debug.xcconfig */; + baseConfigurationReference = 319D7104BBB91FFEFA9190AC /* Pods-AnchoredBottomSheet_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = AnchoredBottomSheet/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; 607FACF11AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 491959A6EC54D8E4ECFCB3D2 /* Pods-AnchoredBottomSheet_Example.release.xcconfig */; + baseConfigurationReference = 6203A712A409CD0AF2AF9152 /* Pods-AnchoredBottomSheet_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = AnchoredBottomSheet/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; }; name = Release; }; 607FACF31AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6DBDA82A7319328A221DAAAE /* Pods-AnchoredBottomSheet_Tests.debug.xcconfig */; + baseConfigurationReference = 29B5A39DC26E3503B31C0F15 /* Pods-AnchoredBottomSheet_Tests.debug.xcconfig */; buildSettings = { + ENABLE_USER_SCRIPT_SANDBOXING = NO; FRAMEWORK_SEARCH_PATHS = ( "$(PLATFORM_DIR)/Developer/Library/Frameworks", "$(inherited)", @@ -543,29 +564,46 @@ "$(inherited)", ); INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AnchoredBottomSheet_Example.app/AnchoredBottomSheet_Example"; }; name = Debug; }; 607FACF41AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D6CC9C4F8DB4F8DFB79A3377 /* Pods-AnchoredBottomSheet_Tests.release.xcconfig */; + baseConfigurationReference = 688CE897B6986242CD4C87AA /* Pods-AnchoredBottomSheet_Tests.release.xcconfig */; buildSettings = { + ENABLE_USER_SCRIPT_SANDBOXING = NO; FRAMEWORK_SEARCH_PATHS = ( "$(PLATFORM_DIR)/Developer/Library/Frameworks", "$(inherited)", ); INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AnchoredBottomSheet_Example.app/AnchoredBottomSheet_Example"; }; name = Release; diff --git a/Example/AnchoredBottomSheet.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet-Example.xcscheme b/Example/AnchoredBottomSheet.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet-Example.xcscheme index 80c165e..3307b02 100644 --- a/Example/AnchoredBottomSheet.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet-Example.xcscheme +++ b/Example/AnchoredBottomSheet.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet-Example.xcscheme @@ -1,6 +1,6 @@ - - diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet.xcscheme deleted file mode 100644 index 245bf0f..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AnchoredBottomSheet.xcscheme +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist index 2f66809..2584563 100644 --- a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist +++ b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.6.0 + 1.6.3 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.debug.xcconfig b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.debug.xcconfig index 55725e1..46ddd1e 100644 --- a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.debug.xcconfig +++ b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.debug.xcconfig @@ -1,10 +1,11 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.release.xcconfig b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.release.xcconfig index 55725e1..46ddd1e 100644 --- a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.release.xcconfig +++ b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.release.xcconfig @@ -1,10 +1,11 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.xcconfig b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.xcconfig deleted file mode 100644 index 0fd24c9..0000000 --- a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -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} -SKIP_INSTALL = YES -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/ResourceBundle-AnchoredBottomSheet-AnchoredBottomSheet-Info.plist b/Example/Pods/Target Support Files/AnchoredBottomSheet/ResourceBundle-AnchoredBottomSheet-AnchoredBottomSheet-Info.plist deleted file mode 100644 index 2b7618d..0000000 --- a/Example/Pods/Target Support Files/AnchoredBottomSheet/ResourceBundle-AnchoredBottomSheet-AnchoredBottomSheet-Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - BNDL - CFBundleShortVersionString - 0.7.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-Info.plist b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-Info.plist index 2243fe6..19cf209 100644 --- a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-Info.plist +++ b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier diff --git a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh index 68e13ba..13834f5 100755 --- a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-frameworks.sh @@ -18,7 +18,7 @@ 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}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" @@ -41,7 +41,7 @@ install_framework() if [ -L "${source}" ]; then echo "Symlinked..." - source="$(readlink "${source}")" + source="$(readlink -f "${source}")" fi if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then diff --git a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-resources.sh b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-resources.sh deleted file mode 100755 index fab1061..0000000 --- a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example-resources.sh +++ /dev/null @@ -1,129 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -function on_error { - echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" -} -trap 'on_error $LINENO' ERR - -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}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# 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" - ;; - 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}" || 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}" || 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}" || true - mkdir -p "${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\"" || 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\"" || 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\"" || true - 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" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_resource "${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet/AnchoredBottomSheet.bundle" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_resource "${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet/AnchoredBottomSheet.bundle" -fi - -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" - - 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-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.debug.xcconfig index b446b56..fbdb28c 100644 --- a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.debug.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AnchoredB GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet/AnchoredBottomSheet.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "AnchoredBottomSheet" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.release.xcconfig index b446b56..fbdb28c 100644 --- a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Example/Pods-AnchoredBottomSheet_Example.release.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AnchoredB GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AnchoredBottomSheet/AnchoredBottomSheet.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "AnchoredBottomSheet" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests-Info.plist index 2243fe6..19cf209 100644 --- a/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests-Info.plist +++ b/Example/Pods/Target Support Files/Pods-AnchoredBottomSheet_Tests/Pods-AnchoredBottomSheet_Tests-Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + ${PODS_DEVELOPMENT_LANGUAGE} CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier diff --git a/Package.swift b/Package.swift index 972d7b5..39dcdb9 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.7 import PackageDescription diff --git a/README.md b/README.md index 0b48376..002a559 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ AnchoredBottomSheet is available through [CocoaPods](https://cocoapods.org). To it, simply add the following line to your Podfile: ```ruby -pod 'AnchoredBottomSheet', '~> 1.6.2' +pod 'AnchoredBottomSheet', '~> 1.6.3' ``` @@ -84,7 +84,7 @@ $ brew install carthage To integrate AnchoredBottomSheet into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl -github "havebeenfitz/anchoredbottomsheet" "1.6.2" +github "havebeenfitz/anchoredbottomsheet" "1.6.3" ``` Run `carthage update` to build the framework and drag the built `SnapKit.framework` into your Xcode project. @@ -93,7 +93,7 @@ Run `carthage update` to build the framework and drag the built `SnapKit.framewo [Swift Package Manager](https://swift.org/package-manager/) is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies. -> Xcode 11+ is required to build AnchoredBottomSheet using Swift Package Manager. +> Xcode 14+ is required to build AnchoredBottomSheet using Swift Package Manager. To integrate AnchoredBottomSheet into your Xcode project using Swift Package Manager, add it to the dependencies value of your `Package.swift`: @@ -101,7 +101,7 @@ To integrate AnchoredBottomSheet into your Xcode project using Swift Package Man dependencies: [ .package( url: "https://github.com/havebeenfitz/anchoredbottomsheet.git", - .upToNextMajor(from: "1.6.2") + .upToNextMajor(from: "1.6.3") ) ] ``` @@ -114,7 +114,7 @@ If you prefer not to use either of the aforementioned dependency managers, you c ## Requirements -Xcode 12+, iOS deployment target ≥ 12 +Xcode 14+, iOS deployment target ≥ 12 ## Author diff --git a/Sources/AnchoredBottomSheet/BottomSheetView.swift b/Sources/AnchoredBottomSheet/BottomSheetView.swift index d1866ca..096a912 100644 --- a/Sources/AnchoredBottomSheet/BottomSheetView.swift +++ b/Sources/AnchoredBottomSheet/BottomSheetView.swift @@ -8,7 +8,7 @@ import UIKit -public class BottomSheetView: UIView { +open class BottomSheetView: UIView { // MARK:- Interface @@ -75,7 +75,7 @@ public class BottomSheetView: UIView { checkPositions() } - required init?(coder: NSCoder) { + required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } diff --git a/Sources/AnchoredBottomSheet/BottomSheetViewConfiguration.swift b/Sources/AnchoredBottomSheet/BottomSheetViewConfiguration.swift index 6b4a6de..dc7e3fa 100644 --- a/Sources/AnchoredBottomSheet/BottomSheetViewConfiguration.swift +++ b/Sources/AnchoredBottomSheet/BottomSheetViewConfiguration.swift @@ -15,7 +15,7 @@ public class BottomSheetViewConfiguration { let parentViewController: UIViewController? /// Middle by default let defaultPosition: BottomSheetViewPosition - /// Avalilable positions + /// Available positions let positions: [BottomSheetViewPosition] /// Should slide from bottom or not let isSlidingToAppear: Bool diff --git a/Sources/AnchoredBottomSheet/BottomSheetViewController.swift b/Sources/AnchoredBottomSheet/BottomSheetViewController.swift index 16c5302..8872655 100644 --- a/Sources/AnchoredBottomSheet/BottomSheetViewController.swift +++ b/Sources/AnchoredBottomSheet/BottomSheetViewController.swift @@ -8,7 +8,7 @@ import UIKit -public class BottomSheetViewController: UIViewController { +open class BottomSheetViewController: UIViewController { override public var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent @@ -39,7 +39,7 @@ public class BottomSheetViewController: UIViewController { addDismissOnActionEvent() } - required init?(coder: NSCoder) { + required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file