Skip to content

Commit

Permalink
set min iOS version support to iOS 11 and macOS 10.13 (#124)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kishorepran authored Aug 1, 2023
1 parent 891a476 commit 5005482
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 26 deletions.
6 changes: 3 additions & 3 deletions Device.podspec
Original file line number Diff line number Diff line change
@@ -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."
Expand All @@ -10,8 +10,8 @@ Pod::Spec.new do |s|
s.author = { "Lucas Ortis" => "[email protected]" }
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"
Expand Down
25 changes: 13 additions & 12 deletions Device.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,8 @@
};
BE11EEE61BE3FC0300816835 = {
CreatedOnToolsVersion = 7.1;
DevelopmentTeam = B68QLRDMYT;
LastSwiftMigration = 0930;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
E2C023A91D6331010033AD25 = {
CreatedOnToolsVersion = 7.3.1;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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)";
Expand All @@ -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)";
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions Device.xcodeproj/xcshareddata/xcschemes/Device macOS.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:Device.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
4 changes: 0 additions & 4 deletions Device.xcodeproj/xcshareddata/xcschemes/Device.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:Device.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Device is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "Device", '~> 3.4.0'
pod "Device", '~> 3.5.0'
```

## Carthage
Expand All @@ -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.
Expand All @@ -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")
]
```

Expand Down

0 comments on commit 5005482

Please sign in to comment.