0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

flutterでFlutter/Release.xcconfigのエラー

Last updated at Posted at 2025-04-23

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出来て良かった!
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?