Skip to content

Commit

Permalink
Added support for iOS 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RastislavMirek committed Jun 11, 2018
1 parent 6fe64a7 commit b82de7f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ before_install:
# Add -tc to xcpretty for no printout at all
script:
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6S,OS=11.3' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6S,OS=9.3' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=10.2' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=11.2' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
# - set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro (9.7-inch),OS=10.0' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro (9.7-inch),OS=9.0' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- set -o pipefail && xcodebuild -workspace FlexColorPickerDemo/FlexColorPickerDemo.xcworkspace -scheme FlexColorPickerDemo -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro (10.5-inch),OS=11.0.1' CODE_SIGNING_REQUIRED=NO clean build | xcpretty
- pod lib lint
19 changes: 4 additions & 15 deletions FlexColorPicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,27 @@
Pod::Spec.new do |s|
s.name = 'FlexColorPicker'
s.module_name = 'FlexColorPicker'
s.version = '1.0.4'
s.version = '1.0.5'
s.summary = 'Modern & flexible full spectrum color picker written in Swift 4.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
Modern color picker library written in Swift 4 that can be easily extended and customized. It aims to provide great UX and performance with stable, quality code. Supports HSB and RGB color models.
DESC

s.homepage = 'https://github.com/RastislavMirek/FlexColorPicker'
# s.screenshots = 'https://github.com/RastislavMirek/FlexColorPicker/blob/master/Screenshots/Default_Flex_Color_Picker.jpg', 'https://github.com/RastislavMirek/FlexColorPicker/blob/master/Screenshots/Custom_Color_Picker_Components.png', 'https://github.com/RastislavMirek/FlexColorPicker/blob/master/Screenshots/Default_Flex_Color_Picker.png', 'https://github.com/RastislavMirek/FlexColorPicker/blob/master/Screenshots/Rectangular_Color_Picker_Palette.png'
s.swift_version = '4.1'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Rastislav Mirek' => '[email protected]' }
s.source = { :git => 'https://github.com/RastislavMirek/FlexColorPicker.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

# s.ios.deployment_target = '10.2'

s.source_files = 'FlexColorPicker/Classes/**/*'
s.platform = :ios, '10.0'
s.platform = :ios, '9.0'
s.requires_arc = true # FlexColor picker requires automatic reference counting
# s.frameworks = 'UIKit'

# s.ios.deployment_target = '10.2'
# s.frameworks = 'UIKit'
# s.resource_bundles = {
# 'FlexColorPicker' => ['FlexColorPicker/Assets/**/*']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.dependency 'AFNetworking', '~> 2.3'
end
2 changes: 1 addition & 1 deletion FlexColorPicker/Classes/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.4</string>
<string>1.0.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
4 changes: 2 additions & 2 deletions FlexColorPicker/FlexColorPicker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/Classes/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -454,7 +454,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/Classes/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
3 changes: 2 additions & 1 deletion FlexColorPickerDemo/Classes/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.4</string>
<string>1.0.5</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down Expand Up @@ -43,6 +43,7 @@
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = UWF3VQ79QJ;
INFOPLIST_FILE = "$(SRCROOT)/Classes/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -389,7 +389,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = UWF3VQ79QJ;
INFOPLIST_FILE = "$(SRCROOT)/Classes/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down

0 comments on commit b82de7f

Please sign in to comment.