Skip to content
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

Is it possible to clear flutter cache? - Possible build error due to cache #4

Open
andreiwow2 opened this issue Sep 17, 2024 · 2 comments

Comments

@andreiwow2
Copy link

andreiwow2 commented Sep 17, 2024

Hello, I get this error during my build process:

Archiving my.app...
ios/Runner/AppDelegate.swift uses the deprecated @UIApplicationMain attribute, updating.
Automatically signing iOS for device deployment using specified development team in Xcode project: mydevteam
Running pod install...                                             25.4s
Running Xcode build...                                          
Xcode archive done.                                         143.1s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.

The build used to work, nothing changed. I saw suggestions to clear the flutter cache but apparently this action already prepares flutter, so how do I get access to clear the cache?


Update

Apparently, I've set up myself flutter before this step, and uset flutter clean and it worked, maybe an argument to disable the cache would be good?

@cedvdb
Copy link
Owner

cedvdb commented Sep 17, 2024

PR's are welcome

@andreiwow2
Copy link
Author

PR's are welcome

I will have to research a bit about how arguments are working in github actions, afterwards I'll try to come up with something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants