Skip to content

Commit

Permalink
updated to the latest Moya and Alamofire libraries + now supports iOS…
Browse files Browse the repository at this point in the history
… 10 and above, podspec is now version 2.0.0 and Swift to version 5
  • Loading branch information
gligorkot committed Apr 15, 2020
1 parent 0622b7b commit a8db7f1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 20 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

2 changes: 1 addition & 1 deletion Classes/Core/Networking.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extension Networking {

static var plugins: [PluginType] {
if BaseKit.isDebug() {
return [NetworkLoggerPlugin(verbose: true)]
return [NetworkLoggerPlugin(configuration: NetworkLoggerPlugin.Configuration(logOptions: .verbose))]
}
return []
}
Expand Down
9 changes: 5 additions & 4 deletions GKNetworkingKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'GKNetworkingKit'
s.version = '1.4.0'
s.version = '2.0.0'
s.summary = 'GKNetworkingKit framework.'
s.description = <<-DESC
* GKNetworkingKit framework
Expand All @@ -10,15 +10,16 @@ Pod::Spec.new do |s|
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.author = { 'Gligor Kotushevski' => 'gligorkot@gmail.com' }
s.social_media_url = 'https://twitter.com/gligor_nz'
s.platform = :ios, '9.0'
s.ios.deployment_target = '9.0'
s.platform = :ios, '10.0'
s.ios.deployment_target = '10.0'
s.source = { :git => 'https://github.com/gligorkot/GKNetworkingKit.git', :tag => s.version.to_s }

s.source_files = 'Classes/**', 'Classes/**/*.{swift}'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }

s.dependency 'Moya', '~> 13.0.x'
s.dependency 'Moya', '~> 14.0.x'
s.dependency 'GKBaseKit', '~> 1.0.x'
s.requires_arc = true
s.swift_versions = ['4.0', '4.1', '4.2', '5.0', '5.1', '5.2']

end
Original file line number Diff line number Diff line change
Expand Up @@ -260,25 +260,19 @@
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-GKNetworkingKitExample/Pods-GKNetworkingKitExample-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/GKBaseKit/GKBaseKit.framework",
"${BUILT_PRODUCTS_DIR}/GKNetworkingKit/GKNetworkingKit.framework",
"${BUILT_PRODUCTS_DIR}/Moya/Moya.framework",
"${BUILT_PRODUCTS_DIR}/Result/Result.framework",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKBaseKit.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKNetworkingKit.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Result.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -312,26 +306,20 @@
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-GKNetworkingKitExample-GKNetworkingKitTests/Pods-GKNetworkingKitExample-GKNetworkingKitTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/GKBaseKit/GKBaseKit.framework",
"${BUILT_PRODUCTS_DIR}/GKNetworkingKit/GKNetworkingKit.framework",
"${BUILT_PRODUCTS_DIR}/Moya/Moya.framework",
"${BUILT_PRODUCTS_DIR}/Result/Result.framework",
"${BUILT_PRODUCTS_DIR}/Nimble/Nimble.framework",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKBaseKit.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKNetworkingKit.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Result.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
4 changes: 2 additions & 2 deletions GKNetworkingKitExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ workspace 'GKNetworkingKitExample'

target :'GKNetworkingKitExample' do
project 'GKNetworkingKitExample.xcodeproj'
platform :ios, '9.0'
platform :ios, '10.0'

pod 'GKNetworkingKit', :path => '../'

target :'GKNetworkingKitTests' do
pod 'Nimble', '~> 7.0.x'
pod 'Nimble', '~> 8.x'
end
end

0 comments on commit a8db7f1

Please sign in to comment.