Skip to content

Commit 5005482

Browse files
authored
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
1 parent 891a476 commit 5005482

File tree

5 files changed

+19
-26
lines changed

5 files changed

+19
-26
lines changed

Device.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Device"
3-
s.version = "3.4.0"
3+
s.version = "3.5.0"
44
s.summary = "Light weight tool for detecting the current device and screen size written in swift."
55

66
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|
1010
s.author = { "Lucas Ortis" => "[email protected]" }
1111
s.source = { :git => "https://github.com/Ekhoo/Device.git", :tag => s.version.to_s }
1212

13-
s.ios.deployment_target = '8.0'
14-
s.osx.deployment_target = '10.10'
13+
s.ios.deployment_target = '11.0'
14+
s.osx.deployment_target = '10.13'
1515

1616
s.requires_arc = true
1717
s.source_files = "Source/*.swift"

Device.xcodeproj/project.pbxproj

+13-12
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,8 @@
342342
};
343343
BE11EEE61BE3FC0300816835 = {
344344
CreatedOnToolsVersion = 7.1;
345-
DevelopmentTeam = B68QLRDMYT;
346345
LastSwiftMigration = 0930;
347-
ProvisioningStyle = Automatic;
346+
ProvisioningStyle = Manual;
348347
};
349348
E2C023A91D6331010033AD25 = {
350349
CreatedOnToolsVersion = 7.3.1;
@@ -512,6 +511,7 @@
512511
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
513512
INFOPLIST_FILE = Device/Info.plist;
514513
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
514+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
515515
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
516516
PRODUCT_NAME = "$(TARGET_NAME)";
517517
SKIP_INSTALL = YES;
@@ -533,6 +533,7 @@
533533
DYLIB_INSTALL_NAME_BASE = "@rpath";
534534
INFOPLIST_FILE = Device/Info.plist;
535535
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
536+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
536537
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
537538
PRODUCT_NAME = "$(TARGET_NAME)";
538539
SKIP_INSTALL = YES;
@@ -661,10 +662,10 @@
661662
CLANG_ENABLE_MODULES = YES;
662663
CODE_SIGN_IDENTITY = "Apple Development";
663664
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
664-
CODE_SIGN_STYLE = Automatic;
665-
DEVELOPMENT_TEAM = B68QLRDMYT;
665+
CODE_SIGN_STYLE = Manual;
666+
DEVELOPMENT_TEAM = "";
666667
INFOPLIST_FILE = "$(SRCROOT)/Example/Info.plist";
667-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
668+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
668669
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
669670
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).Example";
670671
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -685,10 +686,10 @@
685686
CLANG_ENABLE_MODULES = YES;
686687
CODE_SIGN_IDENTITY = "iPhone Developer";
687688
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
688-
CODE_SIGN_STYLE = Automatic;
689-
DEVELOPMENT_TEAM = B68QLRDMYT;
689+
CODE_SIGN_STYLE = Manual;
690+
DEVELOPMENT_TEAM = "";
690691
INFOPLIST_FILE = "$(SRCROOT)/Example/Info.plist";
691-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
692+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
692693
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
693694
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).Example";
694695
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -715,7 +716,7 @@
715716
INFOPLIST_FILE = "Device macOS/Info.plist";
716717
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
717718
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
718-
MACOSX_DEPLOYMENT_TARGET = 10.10;
719+
MACOSX_DEPLOYMENT_TARGET = 10.13;
719720
PRODUCT_BUNDLE_IDENTIFIER = "com.tbaranes.Device-macOS";
720721
PRODUCT_NAME = Device;
721722
SDKROOT = macosx;
@@ -741,7 +742,7 @@
741742
INFOPLIST_FILE = "Device macOS/Info.plist";
742743
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
743744
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
744-
MACOSX_DEPLOYMENT_TARGET = 10.10;
745+
MACOSX_DEPLOYMENT_TARGET = 10.13;
745746
PRODUCT_BUNDLE_IDENTIFIER = "com.tbaranes.Device-macOS";
746747
PRODUCT_NAME = Device;
747748
SDKROOT = macosx;
@@ -762,7 +763,7 @@
762763
COMBINE_HIDPI_IMAGES = YES;
763764
INFOPLIST_FILE = "Example macOS/Info.plist";
764765
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
765-
MACOSX_DEPLOYMENT_TARGET = 10.11;
766+
MACOSX_DEPLOYMENT_TARGET = 10.13;
766767
PRODUCT_BUNDLE_IDENTIFIER = "Ekhoo.Device.Example-macOS";
767768
PRODUCT_NAME = "$(TARGET_NAME)";
768769
SDKROOT = macosx;
@@ -780,7 +781,7 @@
780781
COMBINE_HIDPI_IMAGES = YES;
781782
INFOPLIST_FILE = "Example macOS/Info.plist";
782783
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
783-
MACOSX_DEPLOYMENT_TARGET = 10.11;
784+
MACOSX_DEPLOYMENT_TARGET = 10.13;
784785
PRODUCT_BUNDLE_IDENTIFIER = "Ekhoo.Device.Example-macOS";
785786
PRODUCT_NAME = "$(TARGET_NAME)";
786787
SDKROOT = macosx;

Device.xcodeproj/xcshareddata/xcschemes/Device macOS.xcscheme

-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<AdditionalOptions>
33-
</AdditionalOptions>
3432
</TestAction>
3533
<LaunchAction
3634
buildConfiguration = "Debug"
@@ -51,8 +49,6 @@
5149
ReferencedContainer = "container:Device.xcodeproj">
5250
</BuildableReference>
5351
</MacroExpansion>
54-
<AdditionalOptions>
55-
</AdditionalOptions>
5652
</LaunchAction>
5753
<ProfileAction
5854
buildConfiguration = "Release"

Device.xcodeproj/xcshareddata/xcschemes/Device.xcscheme

-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<AdditionalOptions>
33-
</AdditionalOptions>
3432
</TestAction>
3533
<LaunchAction
3634
buildConfiguration = "Debug"
@@ -51,8 +49,6 @@
5149
ReferencedContainer = "container:Device.xcodeproj">
5250
</BuildableReference>
5351
</MacroExpansion>
54-
<AdditionalOptions>
55-
</AdditionalOptions>
5652
</LaunchAction>
5753
<ProfileAction
5854
buildConfiguration = "Release"

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Device is available through [CocoaPods](http://cocoapods.org). To install
1717
it, simply add the following line to your Podfile:
1818

1919
```ruby
20-
pod "Device", '~> 3.4.0'
20+
pod "Device", '~> 3.5.0'
2121
```
2222

2323
## Carthage
@@ -34,7 +34,7 @@ $ brew install carthage
3434
To integrate Device into your Xcode project using Carthage, specify it in your `Cartfile`:
3535

3636
```ogdl
37-
github "Ekhoo/Device" ~> 3.4.0
37+
github "Ekhoo/Device" ~> 3.5.0
3838
```
3939

4040
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
4747

4848
```swift
4949
dependencies: [
50-
.package(url: "https://github.com/Ekhoo/Device.git", from: "3.4.0")
50+
.package(url: "https://github.com/Ekhoo/Device.git", from: "3.5.0")
5151
]
5252
```
5353

0 commit comments

Comments
 (0)