본문 바로가기
Development Solutions/iOS & OS X

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

by Dev Diary Hub 2023. 8. 16.
반응형

[Solved][Ios][Flutter]

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

 

에러메시지 (Error)

pod install --repo-update

위 명령을 내리다가 발생한 에러 메시지

[Eng](The error message that occurred while executing the above command)

[!] 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`).

 

해결 방법 (Solution)

ios/flutter/Runner.profile.xcconfig에 아래 코드를 복사해서 붙여넣고 다시 빌드하면 된다.

[Eng](Copy and paste the code below to ios/flutter/Runner.profile.xcconfig and rebuild.)

#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
반응형