코드 작성이 아닌,
빌드시에 자꾸 Undefined symbol: _GULGetLoggerLevel 와 같은 에러 발생
에러 목록.....
Undefined symbol: _GULGetLoggerLevel
Undefined symbol: _GULIsLoggableLevel
Undefined symbol: _GULLogBasic
Undefined symbol: _GULLoggerEnableSTDERR
Undefined symbol: _GULLoggerForceDebug
Undefined symbol: _GULLoggerInitializeASL
Undefined symbol: _GULLoggerRegisterVersion
Undefined symbol: _GULResetLogger
Undefined symbol: _GULSetLoggerLevel
Undefined symbol: _OBJC_CLASS_$_FIRHeartbeatController
Undefined symbol: _OBJC_CLASS_$_GULAppEnvironmentUtil
Linker command failed with exit code 1 (use -v to see invocation)
해결법
tuist edit, manifest에서 타겟(또는 프로젝트) 생성 시
product를 일반 framework가 아닌 staticFramework(라이브러리 사용중이라면 staticLibrary) 로 수정
동적/정적 라이브러리, 프레임워크를 잘 구분해서
설정해주어야 하기 때문입니다...
GPT 가 말하길..
Firebase와 상호작용하는 데 사용되는 SDK는 일반적으로 Firebase가 아닌 애플리케이션 코드에 정적 라이브러리로 포함됩니다
라고 합니다..
손으로 땅파는 Tuist ... 중 ~....
'Swift' 카테고리의 다른 글
apple sandbox push services 인증서를 신뢰하지 않음 해결하기 (3) | 2023.12.01 |
---|---|
Tuist에서 CoreData 사용하기 (1) | 2023.11.29 |
[Swift] ViewController Life Cycle 을 알아보자 (0) | 2023.01.09 |
UIKit, xcode에 새로운 storyboard 추가하기 (1) | 2022.12.15 |
[SwiftUI] ScrollView 를 알아보자 (0) | 2022.11.11 |