From 50054824ed26a6a0deb58c47480903eaaa4ec5dd Mon Sep 17 00:00:00 2001 From: Pran Kishore Date: Tue, 1 Aug 2023 13:30:46 +0530 Subject: [PATCH] set min iOS version support to iOS 11 and macOS 10.13 (#124) * set min iOS version support to iOS 11 and macOS 10.13 as per issue #123 update the min deployment target from iOS 8 to iOS 11 and macOS 10.10 to macOS 10.13 * Update project.pbxproj disable automatic code signing * Update README.md --- Device.podspec | 6 ++--- Device.xcodeproj/project.pbxproj | 25 ++++++++++--------- .../xcschemes/Device macOS.xcscheme | 4 --- .../xcshareddata/xcschemes/Device.xcscheme | 4 --- README.md | 6 ++--- 5 files changed, 19 insertions(+), 26 deletions(-) diff --git a/Device.podspec b/Device.podspec index ed14c32..92bfd04 100644 --- a/Device.podspec +++ b/Device.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Device" - s.version = "3.4.0" + s.version = "3.5.0" s.summary = "Light weight tool for detecting the current device and screen size written in swift." s.description = "Swift library for detecting the running device's model and screen size. With the newer  devices, developers have more work to do. This library simplifies their job by allowing them to get information about the running device and easily target the ones they want." @@ -10,8 +10,8 @@ Pod::Spec.new do |s| s.author = { "Lucas Ortis" => "me@lucas-ortis.com" } s.source = { :git => "https://github.com/Ekhoo/Device.git", :tag => s.version.to_s } - s.ios.deployment_target = '8.0' - s.osx.deployment_target = '10.10' + s.ios.deployment_target = '11.0' + s.osx.deployment_target = '10.13' s.requires_arc = true s.source_files = "Source/*.swift" diff --git a/Device.xcodeproj/project.pbxproj b/Device.xcodeproj/project.pbxproj index 4a985ab..35dc630 100644 --- a/Device.xcodeproj/project.pbxproj +++ b/Device.xcodeproj/project.pbxproj @@ -342,9 +342,8 @@ }; BE11EEE61BE3FC0300816835 = { CreatedOnToolsVersion = 7.1; - DevelopmentTeam = B68QLRDMYT; LastSwiftMigration = 0930; - ProvisioningStyle = Automatic; + ProvisioningStyle = Manual; }; E2C023A91D6331010033AD25 = { CreatedOnToolsVersion = 7.3.1; @@ -512,6 +511,7 @@ GCC_SYMBOLS_PRIVATE_EXTERN = NO; INFOPLIST_FILE = Device/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -533,6 +533,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Device/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -661,10 +662,10 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = B68QLRDMYT; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/Example/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).Example"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -685,10 +686,10 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = B68QLRDMYT; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/Example/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).Example"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -715,7 +716,7 @@ INFOPLIST_FILE = "Device macOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "com.tbaranes.Device-macOS"; PRODUCT_NAME = Device; SDKROOT = macosx; @@ -741,7 +742,7 @@ INFOPLIST_FILE = "Device macOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "com.tbaranes.Device-macOS"; PRODUCT_NAME = Device; SDKROOT = macosx; @@ -762,7 +763,7 @@ COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = "Example macOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "Ekhoo.Device.Example-macOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; @@ -780,7 +781,7 @@ COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = "Example macOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "Ekhoo.Device.Example-macOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; diff --git a/Device.xcodeproj/xcshareddata/xcschemes/Device macOS.xcscheme b/Device.xcodeproj/xcshareddata/xcschemes/Device macOS.xcscheme index 256eb1b..dc72c76 100644 --- a/Device.xcodeproj/xcshareddata/xcschemes/Device macOS.xcscheme +++ b/Device.xcodeproj/xcshareddata/xcschemes/Device macOS.xcscheme @@ -29,8 +29,6 @@ shouldUseLaunchSchemeArgsEnv = "YES"> - - - - - - - - 3.4.0' +pod "Device", '~> 3.5.0' ``` ## Carthage @@ -34,7 +34,7 @@ $ brew install carthage To integrate Device into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl -github "Ekhoo/Device" ~> 3.4.0 +github "Ekhoo/Device" ~> 3.5.0 ``` Run `carthage update` to build the framework and drag the built `Device.framework` into your Xcode project. @@ -47,7 +47,7 @@ Once you have your Swift package set up, adding Device as a dependency is as eas ```swift dependencies: [ - .package(url: "https://github.com/Ekhoo/Device.git", from: "3.4.0") + .package(url: "https://github.com/Ekhoo/Device.git", from: "3.5.0") ] ```