Fixing iOS build for Flutter

This is for the current first Beta version of Flutter

Flutter build remains a nightmare as a primary linux user, especially for iOS, that I don't use enough to get used to so where all the tools installed are always obsolete when I come back

My recent fix for Cocoapods


brew install cocoapods
pod update


pod --version
/usr/local/bin/pod: /usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/pod: line 2: /usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod: Undefined error: 0


gem install -n /usr/local/bin cocoapods


flutter run
flutter run --preview-dart-2

should work

Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

USB Foot Switch II - "Usb HIDKB Not connected"