From 1d293d2c0c8cb730910358b79e5d662aa6449076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=87=E1=85=A1=E1=86=A8=E1=84=92=E1=85=A7=E1=86=AB?= =?UTF-8?q?=E1=84=89=E1=85=AE?= Date: Sat, 1 Jun 2019 12:52:52 +0900 Subject: [PATCH] Update podspec and env --- .../project.pbxproj | 20 +++++++++---------- ApiReachable.podspec | 14 ++++++++----- ApiReachable.xcodeproj/project.pbxproj | 10 +++++----- Podfile | 2 +- Podfile.lock | 2 +- 5 files changed, 26 insertions(+), 22 deletions(-) diff --git a/ApiReachable-Demo/ApiReachable-Demo.xcodeproj/project.pbxproj b/ApiReachable-Demo/ApiReachable-Demo.xcodeproj/project.pbxproj index 3392858..315db9c 100644 --- a/ApiReachable-Demo/ApiReachable-Demo.xcodeproj/project.pbxproj +++ b/ApiReachable-Demo/ApiReachable-Demo.xcodeproj/project.pbxproj @@ -456,11 +456,11 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ApiReachable-DemoTests/Pods-ApiReachable-DemoTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-iOS12.2/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/ObjectMapper-iOS12.2/ObjectMapper.framework", - "${BUILT_PRODUCTS_DIR}/RxSwift-iOS12.2/RxSwift.framework", - "${BUILT_PRODUCTS_DIR}/RxCocoa-iOS12.2/RxCocoa.framework", - "${BUILT_PRODUCTS_DIR}/RxRelay-iOS12.2/RxRelay.framework", + "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework", + "${BUILT_PRODUCTS_DIR}/ObjectMapper/ObjectMapper.framework", + "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework", + "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework", + "${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( @@ -486,12 +486,12 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ApiReachable-Demo/Pods-ApiReachable-Demo-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-iOS10.0/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/ObjectMapper-iOS10.0/ObjectMapper.framework", - "${BUILT_PRODUCTS_DIR}/RxSwift-iOS10.0/RxSwift.framework", + "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework", + "${BUILT_PRODUCTS_DIR}/ObjectMapper/ObjectMapper.framework", + "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework", "${BUILT_PRODUCTS_DIR}/Kingfisher/Kingfisher.framework", - "${BUILT_PRODUCTS_DIR}/RxCocoa-iOS10.0/RxCocoa.framework", - "${BUILT_PRODUCTS_DIR}/RxRelay-iOS10.0/RxRelay.framework", + "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework", + "${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( diff --git a/ApiReachable.podspec b/ApiReachable.podspec index a1736f3..6804af0 100644 --- a/ApiReachable.podspec +++ b/ApiReachable.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |spec| spec.name = "ApiReachable" - spec.version = "0.1.3" + spec.version = "0.1.4" spec.summary = "Embed networking logic in your model." spec.description = <<-DESC - Embed networking logic in your model. + Model based networking module using Alamofire DESC spec.homepage = "https://github.com/gearmamn06/ApiReachable" @@ -40,7 +40,7 @@ SOFTWARE. spec.author = { "gearmamn06" => "gearmamn06@gmail.com" } - # spec.swift_version = "4.2" + spec.swift_version = "5.0" spec.platform = :ios # spec.platform = :ios, "10.0" @@ -50,12 +50,16 @@ SOFTWARE. # spec.source = { :git => "https://github.com/gearmamn06/AnimationSeries.git", :tag => spec.version } # spec.ios.vendored_frameworks = 'AnimationSeries.framework' - # spec.source_files = ["AnimationSeries/Sources/**/*.swift", "AnimationSeries/Sources/AnimationSeries.h"] - # spec.public_header_files = ["AnimationSeries/Sources/AnimationSeries.h"] + spec.source_files = ["Sources/*.swift", "Sources/ApiReachable.h"] + spec.public_header_files = ["Sources/ApiReachable.h"] spec.source = { :git => "https://github.com/gearmamn06/ApiReachable.git", :tag => spec.version } # spec.source = { :http => 'https://s3-us-west-2.amazonaws.com/elasticbeanstalk-us-west-2-291822295618/AnimationSeriesFramework.zip'} # spec.exclude_files = "Classes/Exclude" # spec.public_header_files = ["AnimationSeries/Sources/AnimationSeries.h"] spec.requires_arc = true + spec.dependency 'ObjectMapper', '~> 3.4' + spec.dependency 'Alamofire', '~> 4.8.2' + spec.dependency 'RxSwift', '~> 5.0' + end \ No newline at end of file diff --git a/ApiReachable.xcodeproj/project.pbxproj b/ApiReachable.xcodeproj/project.pbxproj index 97850ad..6e7bac6 100644 --- a/ApiReachable.xcodeproj/project.pbxproj +++ b/ApiReachable.xcodeproj/project.pbxproj @@ -286,9 +286,9 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ApiReachableTests/Pods-ApiReachableTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Alamofire-iOS12.2/Alamofire.framework", - "${BUILT_PRODUCTS_DIR}/ObjectMapper-iOS12.2/ObjectMapper.framework", - "${BUILT_PRODUCTS_DIR}/RxSwift-iOS12.2/RxSwift.framework", + "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework", + "${BUILT_PRODUCTS_DIR}/ObjectMapper/ObjectMapper.framework", + "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( @@ -340,7 +340,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 2ABNASUGL6; INFOPLIST_FILE = ApiReachableTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.2; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -360,7 +360,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 2ABNASUGL6; INFOPLIST_FILE = ApiReachableTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.2; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/Podfile b/Podfile index cd8abcd..e287cd1 100644 --- a/Podfile +++ b/Podfile @@ -1,5 +1,5 @@ # Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' + platform :ios, '10.0' workspace 'ApiReachable' use_frameworks! diff --git a/Podfile.lock b/Podfile.lock index 5dd6716..3b7ff9a 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -33,6 +33,6 @@ SPEC CHECKSUMS: RxRelay: 4f7409406a51a55cd88483f21ed898c234d60f18 RxSwift: 8b0671caa829a763bbce7271095859121cbd895f -PODFILE CHECKSUM: b6f4a8a09c73148950d3be440093a811882c9b3c +PODFILE CHECKSUM: 56e1d36ac7f8215b54141f425de5107b99233a71 COCOAPODS: 1.6.0