감사합니다.
전에 문제없이 사용했던 AlamofireImage (version 4.2) 인데
KakaoSDK 추가. podfile에 BUILD_LIBRARY_FOR_DISTRIBUTION=‘YES’ 를 작성하면
Archive시 에러가 발생합니다.
(1) full 에러로그
Undefined symbols for architecture arm64:
“static AlamofireImage.ImageDownloader.defaultURLSessionConfiguration() → __C.NSURLSessionConfiguration”, referenced from:
HelpApp.ChattingVC.tableView(: __C.UITableView, cellForRowAt: Foundation.IndexPath) → __C.UITableViewCell in ChattingVC.o
HelpApp.MyQA_OneVC.collectionView(: __C.UICollectionView, cellForItemAt: Foundation.IndexPath) → __C.UICollectionViewCell in MyQA_OneVC.o
HelpApp.MainVC.popSetting() → () in MainVC.o
HelpApp.MainVC.tableView(_: __C.UITableView, cellForRowAt: Foundation.IndexPath) → __C.UITableViewCell in MainVC.o
function signature specialization <Arg[2] = Dead, Arg[3] = Owned To Guaranteed, Arg[4] = Owned To Guaranteed, Arg[6] = Owned To Guaranteed, Arg[7] = Owned To Guaranteed> of function signature specialization <Arg[2] = [Closure Propagated : closure #2 (__C.UIImage) → () in HelpApp.MainVC.refreshChildMarkers() → (), Argument Types : [{ var __C.NMFMarker }{ var Swift.Int }Swift.Int[HelpApp.familyData]HelpApp.MainVC]> of HelpApp.MainVC.setMarkerImage(data: HelpApp.familyData, zIndex: Swift.Int, completion: (__C.UIImage) → ()) → () in MainVC.o
function signature specialization <Arg[2] = Dead, Arg[3] = Owned To Guaranteed, Arg[4] = Owned To Guaranteed, Arg[5] = Owned To Guaranteed, Arg[7] = Owned To Guaranteed, Arg[8] = Owned To Guaranteed> of function signature specialization <Arg[2] = [Closure Propagated : closure #3 (__C.UIImage) → () in HelpApp.MainVC.refreshChildMarkers() → (), Argument Types : [HelpApp.childUserData{ var __C.GMSMarker }{ var Swift.Int }Swift.Int[HelpApp.familyData]HelpApp.MainVC]> of HelpApp.MainVC.setMarkerImage(data: HelpApp.familyData, zIndex: Swift.Int, completion: (__C.UIImage) → ()) → () in MainVC.o
default argument 0 of AlamofireImage.ImageDownloader.init(configuration: __C.NSURLSessionConfiguration, downloadPrioritization: AlamofireImage.ImageDownloader.DownloadPrioritization, maximumActiveDownloads: Swift.Int, imageCache: AlamofireImage.ImageRequestCache?) → AlamofireImage.ImageDownloader in BottomNoticeVC.o
…
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
(2) kakao sdk버전
최신버전 (pod ‘KakaoSDK’)
(3) iOS버전
Archive 시 오류 발생, 기기 테스트에서는 발생하지 않음.
(4) xcode 버전
13.4.1