background
I was mesmerized when I saw a demonstration of Flutter by Google engineers at the GMTC2018 Global Big Front-end Technology Conference in June. Flutter uses dart syntax to write cross-platform native applications. Dart syntax looks a lot like Typescript, so I’m sure that someone with javascript && Typescript background can pick up Flutter quickly.
I thought I must learn it (expand the technology stack of the big front end) when I had time, but I was so busy with DOG after coming back from Beijing that I only had time to study it for a few days now
Fullter
As part of mobile World Congress 2018, Google released the first beta of Flutter. Flutter is Google’s new mobile UI framework to help developers develop high quality native apps on both iOS and Android. Now you can go to Flutter. IO and get started quickly and develop beautiful native applications
The problem
When installing the Ios of the Flutter development environment, I found that the pod setup was terribly slow when prompted by the Flutter doctor step by step. After downloading the pod setup for half an hour, the application crashed and crashed ðŸ˜. Google took a few moments to find a solution that worked, and documented it
The solution
- toGithub.com/CocoaPods/S…Clone the file, the default folder name is
Specs-master
- Go to folder
~/.cocoapods/repos
- Terminal CD to your project directory to execute
pod setup
, wait for a while, wait for the download to start, you will find in~/.cocoapods/repos
One more down heremaster
The file, in this case, needs to be copiedmaster
Git folder belowSpecs-master
Now, stop at the same timepod setup
Specs-master
The folder name is changed tomaster
And replace~/.cocoapods/repos
Under themaster
folder
flutter doctor
If dart is written on the front end, the editor must use VS Code