개발/Dart & Flutter

[Flutter] CocoaPods did not set the base configuration of your project because your project already has a custom config set.

Monsh 2023. 1. 29. 14:16
반응형

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).

 

Flutter 프로젝트 빌드 시, 위의 메시지가 뜨는 경우


1. /ios/Flutter 디렉토리로 이동

2. Debug.xcconfig 파일에
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"가 있는지 확인 후,
없으면 추가

3. Release.xcconfig 파일에

#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 있는지 확인 후,
없으면 추가

4. 빌드 해보고 결과 확인

 

해결되지 않은 분은 댓글 남겨주시면 감사하겠습니다.

반응형