Skip to content
This repository was archived by the owner on Oct 15, 2023. It is now read-only.

Commit 81c6875

Browse files
committed
Support Swift5.5
1 parent ed93206 commit 81c6875

File tree

5 files changed

+36
-42
lines changed

5 files changed

+36
-42
lines changed

ImageTransition.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |spec|
22
spec.name = "ImageTransition"
3-
spec.version = "0.4.0"
3+
spec.version = "0.5.0"
44
spec.summary = "ImageTransition is a library for smooth animation of images during transitions."
55
spec.homepage = "https://github.com/shtnkgm/ImageTransition"
66
spec.license = { :type => "MIT", :file => "LICENSE" }
77
spec.author = "shtnkgm"
8-
spec.platform = :ios, "9.0"
9-
spec.swift_version = "5.0"
8+
spec.platform = :ios, "12.0"
9+
spec.swift_version = "5.5"
1010
spec.source = { :git => "https://github.com/shtnkgm/ImageTransition.git", :tag => "#{spec.version}" }
1111
spec.source_files = "ImageTransition/**/*.swift"
1212
end

ImageTransition.xcodeproj/project.pbxproj

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
isa = PBXProject;
259259
attributes = {
260260
LastSwiftUpdateCheck = 1000;
261-
LastUpgradeCheck = 1000;
261+
LastUpgradeCheck = 1300;
262262
ORGANIZATIONNAME = "Shota Nakagami";
263263
TargetAttributes = {
264264
DA5486E421525AEB00E0899D = {
@@ -434,6 +434,7 @@
434434
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
435435
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
436436
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
437+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
437438
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
438439
CLANG_WARN_STRICT_PROTOTYPES = YES;
439440
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -460,14 +461,14 @@
460461
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
461462
GCC_WARN_UNUSED_FUNCTION = YES;
462463
GCC_WARN_UNUSED_VARIABLE = YES;
463-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
464+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
464465
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
465466
MTL_FAST_MATH = YES;
466467
ONLY_ACTIVE_ARCH = YES;
467468
SDKROOT = iphoneos;
468469
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
469470
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
470-
SWIFT_VERSION = "";
471+
SWIFT_VERSION = 5.0;
471472
VERSIONING_SYSTEM = "apple-generic";
472473
VERSION_INFO_PREFIX = "";
473474
};
@@ -499,6 +500,7 @@
499500
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
500501
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
501502
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
503+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
502504
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
503505
CLANG_WARN_STRICT_PROTOTYPES = YES;
504506
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -519,13 +521,13 @@
519521
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
520522
GCC_WARN_UNUSED_FUNCTION = YES;
521523
GCC_WARN_UNUSED_VARIABLE = YES;
522-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
524+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
523525
MTL_ENABLE_DEBUG_INFO = NO;
524526
MTL_FAST_MATH = YES;
525527
SDKROOT = iphoneos;
526528
SWIFT_COMPILATION_MODE = wholemodule;
527529
SWIFT_OPTIMIZATION_LEVEL = "-O";
528-
SWIFT_VERSION = "";
530+
SWIFT_VERSION = 5.0;
529531
VALIDATE_PRODUCT = YES;
530532
VERSIONING_SYSTEM = "apple-generic";
531533
VERSION_INFO_PREFIX = "";
@@ -545,7 +547,7 @@
545547
DYLIB_INSTALL_NAME_BASE = "@rpath";
546548
INFOPLIST_FILE = ImageTransition/Info.plist;
547549
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
548-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
550+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
549551
LD_RUNPATH_SEARCH_PATHS = (
550552
"$(inherited)",
551553
"@executable_path/Frameworks",
@@ -573,7 +575,7 @@
573575
DYLIB_INSTALL_NAME_BASE = "@rpath";
574576
INFOPLIST_FILE = ImageTransition/Info.plist;
575577
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
576-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
578+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
577579
LD_RUNPATH_SEARCH_PATHS = (
578580
"$(inherited)",
579581
"@executable_path/Frameworks",

ImageTransition.xcodeproj/xcshareddata/xcschemes/ImageTransition.xcscheme

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1000"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "DA5486E421525AEB00E0899D"
34+
BuildableName = "ImageTransition.framework"
35+
BlueprintName = "ImageTransition"
36+
ReferencedContainer = "container:ImageTransition.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -39,17 +48,6 @@
3948
</BuildableReference>
4049
</TestableReference>
4150
</Testables>
42-
<MacroExpansion>
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "DA5486E421525AEB00E0899D"
46-
BuildableName = "ImageTransition.framework"
47-
BlueprintName = "ImageTransition"
48-
ReferencedContainer = "container:ImageTransition.xcodeproj">
49-
</BuildableReference>
50-
</MacroExpansion>
51-
<AdditionalOptions>
52-
</AdditionalOptions>
5351
</TestAction>
5452
<LaunchAction
5553
buildConfiguration = "Debug"
@@ -70,8 +68,6 @@
7068
ReferencedContainer = "container:ImageTransition.xcodeproj">
7169
</BuildableReference>
7270
</MacroExpansion>
73-
<AdditionalOptions>
74-
</AdditionalOptions>
7571
</LaunchAction>
7672
<ProfileAction
7773
buildConfiguration = "Release"

ImageTransition.xcodeproj/xcshareddata/xcschemes/Sample.xcscheme

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1000"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,9 +26,18 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES"
2930
codeCoverageEnabled = "YES"
30-
onlyGenerateCoverageForSpecifiedTargets = "YES"
31-
shouldUseLaunchSchemeArgsEnv = "YES">
31+
onlyGenerateCoverageForSpecifiedTargets = "YES">
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "DA548718215266AB00E0899D"
36+
BuildableName = "Sample.app"
37+
BlueprintName = "Sample"
38+
ReferencedContainer = "container:ImageTransition.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
3241
<CodeCoverageTargets>
3342
<BuildableReference
3443
BuildableIdentifier = "primary"
@@ -40,17 +49,6 @@
4049
</CodeCoverageTargets>
4150
<Testables>
4251
</Testables>
43-
<MacroExpansion>
44-
<BuildableReference
45-
BuildableIdentifier = "primary"
46-
BlueprintIdentifier = "DA548718215266AB00E0899D"
47-
BuildableName = "Sample.app"
48-
BlueprintName = "Sample"
49-
ReferencedContainer = "container:ImageTransition.xcodeproj">
50-
</BuildableReference>
51-
</MacroExpansion>
52-
<AdditionalOptions>
53-
</AdditionalOptions>
5452
</TestAction>
5553
<LaunchAction
5654
buildConfiguration = "Debug"
@@ -72,8 +70,6 @@
7270
ReferencedContainer = "container:ImageTransition.xcodeproj">
7371
</BuildableReference>
7472
</BuildableProductRunnable>
75-
<AdditionalOptions>
76-
</AdditionalOptions>
7773
</LaunchAction>
7874
<ProfileAction
7975
buildConfiguration = "Release"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Cocoapods](https://img.shields.io/cocoapods/v/ImageTransition.svg)](https://github.com/shtnkgm/ImageTransition)
44
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
5-
[![Swift Version](https://img.shields.io/badge/Swift-5.0-F16D39.svg)](https://developer.apple.com/swift)
5+
[![Swift Version](https://img.shields.io/badge/Swift-5.5-F16D39.svg)](https://developer.apple.com/swift)
66
[![GitHub](https://img.shields.io/github/license/shtnkgm/ImageTransition.svg)](https://github.com/shtnkgm/ImageTransition/blob/master/LICENSE)
77

88
**ImageTransition** is a library for smooth animation of images during transitions.
@@ -86,7 +86,7 @@ ImageTransitionDelegate.shared.popAnimationOptions = [.curveEaseIn]
8686

8787
## Requirements
8888

89-
- iOS 9.0 or later
89+
- iOS 12.0 or later
9090

9191
## Contributing
9292

0 commit comments

Comments
 (0)