Downgrade SDK Dart to build App on MacBook - ios

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.

Related

Will apps run on the latest version of IOS if they were developed in an older version of Xcode?

My Mac only lets met run Xcode 13.2, which is an older version of Xcode.
If I develop an app using this version of Xcode and publish it to the App store, will it be able to run on the latest version of IOS on iPhone (IOS 16 and above)?
Please let me know, thanks!

After updating the xcode to 13.3 and mac to 12.3 , emulator of iphones and physical devices of iphone types gives error in android studio

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.

What is the last Flutter version compatible with Xcode 11.3.1?

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)

Meteor app cannot be run on iOS after Xcode upgrade

I was developing Meteor project and was able to test it on both Android and iOS. But after my Xcode upgraded to version 7.3 I'm not able to test project on iOS anymore. Now I'm getting error:
Check that you have Xcode 6.x installed
Is there any way to run my project while having Xcode 7 or do I need to downgrade it? My Meteor version is 1.3

Is there a way to get iOS 7 simulator on Xcode 7

I just updated my Xcode to the newest version (7.0 7A220) and I lost the iOS 7 simulator that I had in the previous version. I still have the iOS 7 SDK and was wondering if there is way to use it on the newest version of Xcode, instead of installing another version of Xcode on my OS X.
Download the official installation package from: https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK7_1-7.1.1.1354140590.dmg
This is where Xcode 6.4 is downloading it from.
But it won't work on El Capitan, only on Yosemite. The runtime has a problem with El Capitan... So until Apple solves it (if they want to), we're stuck.
As for my initial analysis referred from link you cant install it and use older version of Xcode version for using respective iOS simulators. To use iOS 7.1 go for Xcode 6.4 or earlier. Install Xcode 6.4 and download respective simulator from Preference.
To download older version of Xcode you need to login with developer account https://developer.apple.com/downloads/

Resources