Flutter) CocoaPods Build Error

Sang·2022년 7월 25일
0

CocoaPods

목록 보기
1/1

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

ios/Flutter에 .xcconfig 파일들은 빌드 상황에 대해서 cocoapods나 build의 기본 설정에 대해서 설명해주는 부분이다.

위의 에러 내용을 확인해보면, "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig" 를 설정한 부분이 없다고 한다.

Release.xcconfig 파일에 아래 코드를 넣어 빌드를 해주자.

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

profile
Mobile App Develop

0개의 댓글