pod isntall時のエラー
-
pod install
でエラーになった
Pod installation complete! There are 5 dependencies from the Podfile and 5 total pods installed.
[!] 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/Release.xcconfig
を以下のように設定したらエラーなくなった
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
- ちなみにcursorに修正方法を聞くと
?
を削除するように言われた。。。もちろん直らない😇
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
- 今までちゃんと動いてたので
iphoneを13から16eに機種変して、iosを18.4.1にバージョンアップして色々環境変わった時に消えた?
まぁinstall出来て良かった!