Skip to content

Commit 852f12a

Browse files
committed
Moved iOS CocoaPods target to 9.0 from 8.0, so podspec will validate
1 parent bb9eeeb commit 852f12a

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

Scripts/cocoapod-validate.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,10 @@ set -o pipefail
77

88
pod env
99

10-
# Work around bug in Xcode 9.3.0 (on Travis) that causes unit tests to crash when targeting
11-
# iOS 8.0. Remove when it's no longer necessary (as well as the `mv` at the end)
12-
sed -i '.original' 's/s.ios.deployment_target = "8.0"/s.ios.deployment_target = "9.0"/g' UnzipKit.podspec
13-
1410
# Lint the podspec to check for errors. Don't call `pod spec lint`, because we want it to evaluate locally
1511

1612
# Using sed to remove logging from output until CocoaPods issue #7577 is implemented and I can use the
1713
# OS_ACTIVITY_MODE = disable environment variable from the test spec scheme
1814
pod lib lint --verbose | sed -l '/xctest\[/d; /^$/d'
1915

20-
# Restore previous version
21-
mv UnzipKit.podspec.original UnzipKit.podspec
22-
2316
. Scripts/unset-travis-tag.sh

Scripts/push-output.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ else
1717
fi
1818

1919
echo -e "\nLinting podspec..."
20-
pod spec lint --fail-fast --verbose
20+
pod spec lint --fail-fast
2121

2222
if [ $? -ne 0 ]; then
2323
echo -e "\nPodspec failed lint. Run again with --verbose to troubleshoot"

UnzipKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Pod::Spec.new do |s|
77
s.author = { "Dov Frankel" => "[email protected]" }
88
s.social_media_url = "https://twitter.com/dovfrankel"
99
s.source = { :git => "https://github.com/abbeycode/UnzipKit.git", :tag => "#{s.version}" }
10-
s.ios.deployment_target = "8.0"
10+
s.ios.deployment_target = "9.0"
1111
s.osx.deployment_target = "10.9"
1212
s.requires_arc = 'Source/**/*'
1313
s.public_header_files = "Source/UnzipKit.h",

0 commit comments

Comments
 (0)