[!] cocoapods did not set the base configuration of your project because your project already has a custom config set. in order for cocoapods integration to work at all, please either set the base configurations of the target runner to target support fi.. 본문
Error
[!] cocoapods did not set the base configuration of your project because your project already has a custom config set. in order for cocoapods integration to work at all, please either set the base configurations of the target runner to target support fi..
개발자로 거듭나기 2023. 7. 12. 00:27반응형
오류상황
- vscode 의 flutter 프로젝트에서 ios 빌드를 위해,
- cd ios (ios 폴더로 이동하여)
- pod install 실행
- 경고메세지로 다음과 같이 나왔다.
[!] cocoapods did not set the base configuration of your project because your project already has a custom config set. in order for cocoapods integration to work at all, please either set the base configurations of the target runner to target support files/pods-runner/pods-runner.profile.xcconfig or include the target support files/pods-runner/pods-runner.profile.xcconfig in your build configuration (flutter/release.xcconfig).
- 위의 오류는
Pods/Target Support Files/
폴더에 있는_Runner
폴더 안에*.xcconfig
파일이 현재 프로젝트 설정에 적용되어 있지 않기 때문에 CocoaPods가 적용되지 않았기때문이라고 합니다.
해결을 위해 사용한 방법
- ios > Flutter > Release.xcconfig 파일을 연다.
- 다음과 같이 두 줄 추가 후
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
- .symlinks, Pods, Podfile.lock 제거 후 다시 pod install 했더니 경고가 사라졌다.
반응형
'Error' 카테고리의 다른 글
A non-serializable value was detected in an action, in the path: (0) | 2023.07.27 |
---|---|
Unterminated regular expression literal.ts(1161) (0) | 2023.07.14 |
vscode flutter 빌드버전 변경하기 (0) | 2023.07.12 |
Node port 강제 종료하기 (0) | 2023.06.10 |
ts-node : Unknown file extension ".ts" (0) | 2023.05.18 |
Comments