Skip to content

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

@andreiwow2

Description

@andreiwow2

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions