Skip to content

Commit a8db7f1

Browse files
committed
updated to the latest Moya and Alamofire libraries + now supports iOS 10 and above, podspec is now version 2.0.0 and Swift to version 5
1 parent 0622b7b commit a8db7f1

File tree

5 files changed

+8
-20
lines changed

5 files changed

+8
-20
lines changed

.swift-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Classes/Core/Networking.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extension Networking {
3131

3232
static var plugins: [PluginType] {
3333
if BaseKit.isDebug() {
34-
return [NetworkLoggerPlugin(verbose: true)]
34+
return [NetworkLoggerPlugin(configuration: NetworkLoggerPlugin.Configuration(logOptions: .verbose))]
3535
}
3636
return []
3737
}

GKNetworkingKit.podspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

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

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

20-
s.dependency 'Moya', '~> 13.0.x'
20+
s.dependency 'Moya', '~> 14.0.x'
2121
s.dependency 'GKBaseKit', '~> 1.0.x'
2222
s.requires_arc = true
23+
s.swift_versions = ['4.0', '4.1', '4.2', '5.0', '5.1', '5.2']
2324

2425
end

GKNetworkingKitExample/GKNetworkingKitExample.xcodeproj/project.pbxproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -260,25 +260,19 @@
260260
buildActionMask = 2147483647;
261261
files = (
262262
);
263-
inputFileListPaths = (
264-
);
265263
inputPaths = (
266264
"${PODS_ROOT}/Target Support Files/Pods-GKNetworkingKitExample/Pods-GKNetworkingKitExample-frameworks.sh",
267265
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
268266
"${BUILT_PRODUCTS_DIR}/GKBaseKit/GKBaseKit.framework",
269267
"${BUILT_PRODUCTS_DIR}/GKNetworkingKit/GKNetworkingKit.framework",
270268
"${BUILT_PRODUCTS_DIR}/Moya/Moya.framework",
271-
"${BUILT_PRODUCTS_DIR}/Result/Result.framework",
272269
);
273270
name = "[CP] Embed Pods Frameworks";
274-
outputFileListPaths = (
275-
);
276271
outputPaths = (
277272
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
278273
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKBaseKit.framework",
279274
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKNetworkingKit.framework",
280275
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework",
281-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Result.framework",
282276
);
283277
runOnlyForDeploymentPostprocessing = 0;
284278
shellPath = /bin/sh;
@@ -312,26 +306,20 @@
312306
buildActionMask = 2147483647;
313307
files = (
314308
);
315-
inputFileListPaths = (
316-
);
317309
inputPaths = (
318310
"${PODS_ROOT}/Target Support Files/Pods-GKNetworkingKitExample-GKNetworkingKitTests/Pods-GKNetworkingKitExample-GKNetworkingKitTests-frameworks.sh",
319311
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
320312
"${BUILT_PRODUCTS_DIR}/GKBaseKit/GKBaseKit.framework",
321313
"${BUILT_PRODUCTS_DIR}/GKNetworkingKit/GKNetworkingKit.framework",
322314
"${BUILT_PRODUCTS_DIR}/Moya/Moya.framework",
323-
"${BUILT_PRODUCTS_DIR}/Result/Result.framework",
324315
"${BUILT_PRODUCTS_DIR}/Nimble/Nimble.framework",
325316
);
326317
name = "[CP] Embed Pods Frameworks";
327-
outputFileListPaths = (
328-
);
329318
outputPaths = (
330319
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
331320
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKBaseKit.framework",
332321
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKNetworkingKit.framework",
333322
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework",
334-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Result.framework",
335323
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework",
336324
);
337325
runOnlyForDeploymentPostprocessing = 0;

GKNetworkingKitExample/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ workspace 'GKNetworkingKitExample'
77

88
target :'GKNetworkingKitExample' do
99
project 'GKNetworkingKitExample.xcodeproj'
10-
platform :ios, '9.0'
10+
platform :ios, '10.0'
1111

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

1414
target :'GKNetworkingKitTests' do
15-
pod 'Nimble', '~> 7.0.x'
15+
pod 'Nimble', '~> 8.x'
1616
end
1717
end

0 commit comments

Comments
 (0)