I'm trying to build my Flutter app on Mac os Catalina. And would like to support old phone like Ipad 2. I read on a post the maximun version of Xcode should be 11.3.1, so i install that then install the newest version of Flutter.
But when if run
flutter build ios
i got Found "Xcode 11.3.1, Build version 11C505". Xcode 12.0.1 or greater is required to develop for iOS.
So i'm trying to downgrade Flutter to the lastest version compatible with Xcode 11.3.1.
Found list of old releases but it's not easy get infos on compatibility with Xcode.
I use command line only (because VMware too slow).
At my MBP mid 2012 and iMac late 2012 with Mojave 10.14.6 and Xcode 11.3.1, I have flutter 2.0.6.
After install, if you run flutter -v doctor, you will receive a message:
"! Xcode 11.3.1 out of date (12.0.1 is recommended).
Download the latest version or update via the Mac App Store."
but you can run flutter code without troubles.
If I try run flutter 2.2.X, ‘flutter -v doctor’ returns a message that Xcode 12 is need.
Disclaimer for macOS 10.14.6 users:
I remember when I installed flutter, at some point I needed install gems dependencies, but I had trouble because I was using Mojave 10.14.6, Xcode and flutter.
If you have troubles with gems installation, please go to Error while installing json gem 'mkmf.rb can't find header files for ruby'
and check my answer for Mojave 10.14.6 (answered Nov 18 '20 at 14:08)
Related
I have an old MacBook here, and I need to build an app on it to test on an iPhone, the problem is that the app was created using the newest version of flutter. And as you may know, MacBook does not allow to install Flutter in XCode older than Flutter version 13,
and I was wondering if I would downgrade the Dart/Flutter SDK I will have problems and how to solve them?
the message displayed on console is:
[!] Xcode - develop for iOS and macOS (Xcode 12.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
! Flutter recommends a minimum Xcode version of 13.
Download the latest version or update via the Mac App Store.
• CocoaPods version 1.10.1
Yes, you can install other versions of flutter to build your application with it. You can either do so manually or use the flutter version manager (fvm) for that.
Download links for all flutter releases can be found in the flutter documentation.
These older releases of flutter then have different requirements for the Xcode versions.
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
CocoaPods not installed or not in valid state.
Error launching application on iPhone 12 Pro Max.
It Will shows Error like this:-
After updating the Android studio it's throwing the error in IOS run
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
CocoaPods not installed or not in valid state.
Error launching application on iPhone 13 Pro Max.
It's run easily in android device and when we run through terminal its runs easily.
I have the same issue and I am hoping they will fix it soon. But, running flutter run from the terminal window inside Android Studio works fine and I can build and deploy for Android and iOS devices. Not a great solution, but works for now.
Upgrade with the new version of Bumblebee resolve the issue for me
Version: Android Studio Bumblebee | 2021.1.1 Patch 1
I got and Error which says that "found "xcode 10.1, build version 10b61". xcode 10.2 or greater is required to develop for ios. flutter ", Tried everything, but cannot make it work.
Its working on the Xcode, but unfortunately Its not working in VS Code.
The latest Xcode version is 11.3. Please update the Xcode in your mac machine and open Xcode to complete the installation of all necessary components.
Fluter requires Xcode command-line tools. to setup command-line tool run following in your terminal:
$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
$ sudo xcodebuild -runFirstLaunch
Detailed reference can be found in Fluter iOS setup. Hope this helps.
I had the same problem, my macbook is late 2011 so I couldn't update to Mojave or Catalina which is required by xcode 10.2 and above.
for people like me reaching here, I just updated my mac to Catalina (the same 2011 model) using dosdude patcher located at macOS Catalina Patcher. it works like a charm, I installed the latest xcode and now all is fine.
I recently brought a new Mac mini running Max OSX 10.7(Lion)
I downloaded the iOS SDK 4.3 and Xcode 3.2.6.dmg from here
The download is successful and i was able to install it without any problem.
But after INSTALLING I CANNOT FIND XCODE IN /DEVELOPER/APPLICATIONS folder.
In /DEVELOPER/APPLICATIONS folder i only find
performance tools and utilities folders.
Can anybody help me in properly installing xcode on Lion?
mount xcode326.dmg, open terminal, type following 2 commands:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
xcode should install successfully.