Skip to content

Commit

Permalink
Add Swift 5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Apr 7, 2019
1 parent 27217dd commit 29e31c1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
[Changelog](https://github.com/kean/Nuke-Alamofire-Plugin/releases) for all versions

## Nuke Alamofire Plugin 4.2

- Add Swift 5.0 support
- Remove Swift 4.0 and Swift 4.1 support
- Remove iOS 9, tvOS 9, watchOS 2.0, macOS 10.10 and macOS 10.11 support
- Add a single `Nuke Alamofire Plugin` target which can build the framework for any platform

## Nuke Alamofire Plugin 4.1

- Updated to Swift 4.2
Expand Down
10 changes: 5 additions & 5 deletions Nuke-Alamofire-Plugin.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Nuke-Alamofire-Plugin'
s.version = '4.1'
s.version = '4.2'
s.summary = 'Alamofire plugin for Nuke - image loading and caching framework'

s.homepage = 'https://github.com/kean/Nuke-Alamofire-Plugin'
Expand All @@ -9,10 +9,10 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/kean/Nuke-Alamofire-Plugin.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/a_grebenyuk'

s.ios.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0'
s.ios.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'

s.module_name = "NukeAlamofirePlugin"

Expand Down
6 changes: 3 additions & 3 deletions Nuke-Alamofire-Plugin.xcodeproj/project.pbxproj
Expand Up @@ -128,7 +128,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1020;
ORGANIZATIONNAME = "Alexander Grebenyuk";
TargetAttributes = {
0C8D254E1BCC33730029A841 = {
Expand All @@ -139,11 +139,11 @@
};
buildConfigurationList = 0C8D25491BCC33730029A841 /* Build configuration list for PBXProject "Nuke-Alamofire-Plugin" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
mainGroup = 0C8D25451BCC33730029A841;
productRefGroup = 0C8D25501BCC33730029A841 /* Products */;
Expand Down
2 changes: 1 addition & 1 deletion Source/DataLoader.swift
@@ -1,6 +1,6 @@
// The MIT License (MIT)
//
// // Copyright (c) 2016-2018 Alexander Grebenyuk (github.com/kean).
// // Copyright (c) 2016-2019 Alexander Grebenyuk (github.com/kean).

import Foundation
import Alamofire
Expand Down
2 changes: 1 addition & 1 deletion Supporting Files/NukeAlamofirePlugin.xcconfig
Expand Up @@ -4,7 +4,7 @@

SUPPORTED_PLATFORMS = iphoneos macosx appletvos watchos iphonesimulator appletvsimulator watchsimulator

SWIFT_VERSION = 4.2
SWIFT_VERSION = 5.0

IPHONEOS_DEPLOYMENT_TARGET = 10.0
MACOSX_DEPLOYMENT_TARGET = 10.12
Expand Down

0 comments on commit 29e31c1

Please sign in to comment.