当前位置:网站首页>If you‘re running pod install manually, make sure flutter pub get is executed first.

If you‘re running pod install manually, make sure flutter pub get is executed first.

2022-07-07 05:04:00 Liu Xiaobo

error 1

perform pod install
Report errors
[!] Invalid Podfile file: /Users/liubo/Downloads/gallery-main/ios/Flutter/Generated.xcconfig must exist. If you’re running pod install manually, make sure flutter pub get is executed first.

According to the prompt , You need to add flutter package

therefore perform flutter packages get

Then report an error
The current Flutter SDK version is 3.0.4.

Because gallery requires Flutter SDK version >=3.1.0-0, version solving failed.
Running “flutter pub get” in gallery-main…
pub get failed (1; Because gallery requires Flutter SDK version >=3.1.0-0, version solving failed.)

Re execution flutter upgrade

Flutter is already up to date on channel stable
Flutter 3.0.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 85684f9300 (5 days ago) • 2022-06-30 13:22:47 -0700
Engine • revision 6ba2af10bb
Tools • Dart 2.17.5 • DevTools 2.12.2
192:ios liubo$ flutter packages get
Changing current working directory to: /

According to the prompt 3.0.4 It's the latest version
But what the project needs is 3.1.0,

Then modify the configuration file  Please add a picture description
That's it

原网站

版权声明
本文为[Liu Xiaobo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207062236302994.html