pod ‘Amplify’
pod ‘Amplify/Tools’
pod ‘AmplifyPlugins/AWSCognitoAuthPlugin’
이렇게 세가지가 설치된 상황에서 추가적으로
pod ‘KakaoSDK’
pod ‘KakaoSDKUser’
pod ‘KakaoSDKAuth’
추가적으로 kakaoSDK를 설치 했습니다.
추가적으로 kakao Document 대로 제일 podfile 하단에 아래 코드를 추가하였습니다.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘BUILD_LIBRARY_FOR_DISTRIBUTION’] = ‘YES’
end
end
end
이후 pod install 이후에
Amplify 안에 있는 SpaceBAseDAteConverting 안에서 error 가 발생합니다.
kakaoSDK pod 제거이후엔 정상적으로 작동합니다.
아래는 설치한 pod 입니다.
Uncomment the next line to define a global platform for your project
platform :ios, ‘12.0’
def ml_pods
pod ‘Firebase/Analytics’
pod ‘Firebase/Messaging’
pod ‘Firebase/Crashlytics’
pod ‘Firebase/DynamicLinks’
end
def amplify_pods
pod ‘Amplify’
pod ‘Amplify/Tools’
pod ‘AmplifyPlugins/AWSCognitoAuthPlugin’
end
def network_pods
pod ‘Alamofire’
pod ‘AlamofireImage’
pod ‘AlamofireNetworkActivityLogger’
end
target ‘qpicker’ do
Comment the next line if you don’t want to use dynamic frameworks
use_frameworks!
Pods for qpicker
ml_pods
amplify_pods
network_pods
pod ‘XLPagerTabStrip’
pod ‘FSCalendar’
pod ‘SnapKit’
pod ‘FloatingPanel’
pod ‘SwiftyGif’
pod ‘SwiftyJSON’
pod ‘DropDown’
pod ‘MarqueeLabel’
pod ‘UICircularProgressRing’
pod ‘Cosmos’
pod ‘iamport-ios’
pod ‘CryptoSwift’
pod ‘RxCocoa’
pod ‘RxSwift’
pod ‘Then’
pod ‘RxGesture’
pod ‘RxAlamofire’
pod ‘Kingfisher’, ‘7.6.2’
pod ‘Toaster’
pod ‘InfiniteLayout’
pod ‘InfiniteLayout/Rx’
pod ‘Bootpay’
pod ‘GoogleMaps’, ‘6.1.0’
pod ‘Google-Maps-iOS-Utils’, ‘3.4.0’
pod ‘MaterialComponents/BottomSheet’
pod ‘InfiniteCarouselCollectionView’
pod ‘KakaoSDK’
pod ‘KakaoSDKUser’
pod ‘KakaoSDKAuth’
end
target ‘qpickerTests’ do
inherit! :search_paths
# Pods for testing
end
target ‘qpickerUITests’ do
# Pods for testing
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘BUILD_LIBRARY_FOR_DISTRIBUTION’] = ‘YES’
end
end
end