Created
July 13, 2019 02:01
-
-
Save minhcasi/c901166ec9db35017b726d6e136b7e2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After upgrade to flutter 1.7 by using "flutter upgrade" you may have some issue with the cache issue, as new Flutter version change the way of buil the XCode project. Please try one of following solutions to clean cache and update the Pod libraries: | |
SOLUTION 1: | |
--------------------------- | |
1. Clean up Flutter cache: | |
$ flutter clean | |
2. Go to ios folder: | |
$ sudo gem install cocoapods-deintegrate cocoapods-clean | |
$ pod deintegrate | |
$ pod clean | |
3. Go to the project folder: | |
$ flutter run | |
SOLUTION 2: | |
----------------------------- | |
1. Open XCode: File > Workspace Settings... > Build System, change dropdown to New Build System (Default): | |
2. To to ios folder, to update latest cocoapod: | |
$ pod update | |
3. Go to project folder and make sure all there is no issues by running: | |
$ flutter doctor | |
$ flutter run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment