New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Podfile
file: No such file or directory - flutter/bin/cache/artifacts/engine/ios/Flutter.podspec, file missing from artifacts cache
#55095
Comments
|
Hi @ToeyPonlawat if the issue persists |
my flutter docter-v
|
This is my flutter run --verbose result log
|
Podfile
file: No such file or directory - flutter/bin/cache/artifacts/engine/ios/Flutter.podspec
So does |
@jmagman not exist ,Is there -Flutter.framework (directory) - , -LICENSE- , -gen_snapshot_arm64- ,gen_snapshot_armv7, and zip |
Podfile
file: No such file or directory - flutter/bin/cache/artifacts/engine/ios/Flutter.podspecPodfile
file: No such file or directory - flutter/bin/cache/artifacts/engine/ios/Flutter.podspec, file missing from cache
Podfile
file: No such file or directory - flutter/bin/cache/artifacts/engine/ios/Flutter.podspec, file missing from cachePodfile
file: No such file or directory - flutter/bin/cache/artifacts/engine/ios/Flutter.podspec, file missing from artifacts cache
@ToeyPonlawat I had exact same problem. Can you try to run "flutter precache" command in your terminal? When i run that, it download all files in cache folder. |
The same problem here |
@ibrahimdevs solution to run |
@ibrahimdevs The solution to run flutter precache also worked for me. But I had to remove the cache folder first and then it worked. Thank you! |
sorry for late answer #55095 (comment) was worked I have problem about install & sequence of setting project env in my mac |
@ibrahimdevs The solution to run flutter precache also worked for me👍 |
|
Flutter lazily downloads the tooling needed to build against each platform to avoid bloating install size with platform tooling you don't use (in Which doesn't make sense because @ChengJingH @vishnuharidas You shouldn't need to run If anyone else hits this issue, before you "fix" it, please file a new issue and let us know what's in |
I have the logs. I am using CodeMagic to build the iOS app. My previous build was 14 days ago, and the build was successful at that time. Today it showed the error. Here are the details and the log: Details of the build machine: (from the CodeMagic build log)
Pre-build script:
When executing the above script, it shows:
When I browse the Mac machine via SSH:
So basically the Then I updated the pre-build script to include the
Now if I browse the machine (with the
...and the build succeeds. Note: This is 100% reproducible using Codemagic because they set up the build machine every time we take a build. They will allow browsing the build machine via SSH for 20 minutes. |
@vishnuharidas You aren't running an iOS-specific |
Reopening, this should throw a helpful exception that tells the user to run |
Nevermind, this was already done as of #71495: flutter/packages/flutter_tools/bin/podhelper.rb Lines 42 to 47 in 1c18cf3
|
Somehow it worked till 14days ago without the
Still not sure if Codemagic was doing |
This worked for me. Thank you. |
also I run |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I've create new flutter project and run first times it's done. After that I've get new dependencies in pubspec.yaml like this..
and after flutter pub get I've run flutter run again In the end I've got an errors like this
The text was updated successfully, but these errors were encountered: