Skip to content

Commit

Permalink
fix : podspec deployment_target update, alamofire 5 마이그레이션
Browse files Browse the repository at this point in the history
refactor : 미사용 디펜던시 제거
  • Loading branch information
kjh5833 committed Apr 22, 2021
1 parent 8b24ff4 commit 33ad423
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def network_pods
# 대표적인 네트워크 라이브러리입니다.
pod 'Alamofire'
# Alamofire를 사용할 때 상단 상태 바에 통신중일때 기본 인디케이터가 나타나도록 합니다.
pod 'AlamofireNetworkActivityIndicator'
# pod 'AlamofireNetworkActivityIndicator'
# Alamofire를 이용할 때 로그를 쉽게 볼 수 있습니다.
pod 'AlamofireActivityLogger'
# pod 'AlamofireActivityLogger'
end

# Pods for RxSwift+MVVM
Expand Down
2 changes: 1 addition & 1 deletion iamport-ios.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

s.swift_versions = '5.0'
s.ios.deployment_target = '8.0'
s.ios.deployment_target = '10.0'

s.source_files = 'iamport-ios/Classes/**/*'

Expand Down
8 changes: 4 additions & 4 deletions iamport-ios/Classes/Domain/Utils/Network.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class Network {
return sessionConfiguration
}

static let alamoFireManager: SessionManager = {
Alamofire.SessionManager(configuration: getURLSessionConfiguration())
static let alamoFireManager: Alamofire.Session = {
Alamofire.Session(configuration: getURLSessionConfiguration())
}()

static let alamoFireManagerShortTimeOut: SessionManager = {
Alamofire.SessionManager(configuration: getURLSessionConfiguration(useShortTimeout: true))
static let alamoFireManagerShortTimeOut: Alamofire.Session = {
Alamofire.Session(configuration: getURLSessionConfiguration(useShortTimeout: true))
}()

}

0 comments on commit 33ad423

Please sign in to comment.