Homebrew doesn't work after update on macOS Big Sur 11.0.1 - homebrew

After homebrew upgrade, I got Error: Your Command Line Tools are too outdated.
My macOS version: Big Sur 11.0.1
My Xcode version: 12.4
And I don't want to upgrade my macOS, so I can't install new version Xcode, how can I use homebrew successful in my Mac?Or myabe revert homebrew to the previous version?

Have you simply tried to brew update-reset?
P.S. You must be more specific, write more details and what you tried to do to fix. Please read that.

Related

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)

How can I install Netbeans 8.2 with JDK 8 on Big Sur

I am having a problem with installing Netbeans 8.2 on my new MacBook Pro 13 (M1). I already have Netbeans 8.2 installed on my PC desktop, but I can't install it on my Mac. It's isn't my first time that I installed it on a pc, but this time I really don't know how to install it. First thing what I did was to download the JDK 8 file to my Mac and installed it (https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html), after that I dowloaded Netbeans 8.2 (version "All", https://netbeans.org/downloads/old/8.2/) and installed it. But now comes my problem, when begin installing it, a pop-up pops up (No Java found, NetBeans IDE cannot be installed. This software can be installed with Java 8 or newer. Please download and install the latest update of Java 8 from http://www.oracle.com/technetwork/java/javase/downloads/index.html and restart NetBeans installation.) So now I am stuck. I have looked everywhere on the internet to find the problem solve it but found nothing. I would love to get some help with my problem. Thank you./(PS. I am new in the world of Mac-os. I have tried some advise's from stack overflow to get working with the terminal, but no success.)
I have solved it! I first needed to download "Homebrew" on my Mac and after that I downloaded Netbeans 8.2 in the terminal with this "brew install --cask netbeans-java-se" after that I needed to edit the my path and now it works fine.
go to terminal then paste this command. 'brew install --cask netbeans'

Cannot install the flutter application for ios

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.

Pod file not being initialized?

When i try to initialize pod file to use cocoapods via terminal, it gives me this error. How to fix it.
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:128:in `verify_minimum_git_version!': [!] You need at least git version 1.8.5 to use CocoaPods (Pod::Informative)
I encounter the same problem and solve it by using the following command:
sudo xcode-select --switch /Applications/Xcode.app
As the error message in terminal shows, something with my git goes wrong. And, it has to do with the command line tool.
I was having an issue while trying to install packages using cocoapods. I have tried "sudo xcode-select --switch /Applications/Xcode.app" still getting wrong path error
To fix this
I opened Xcode.
Preferences
Locations
Selected the Command Lin Tools: Xcode 9.0
Now when installing packages with cocoapods I no longer get errors.
You need to set command line tool version, in Xcode:
You can download latest command line tool from Apple Download Portal, if you have paid apple developer account/id.
Here are current beta and stable Xcode Tool and supporting command line tool download link. (Ensure you'are logged in using premium developer account on Apple Developer Account to access these links)
Xcode 11
Xcode 11.2 beta 2
- (Command Line Tool (Xcode 11.2 beta 2) - for macOS 10.14)
Xcode 11
- (Command Line Tool (Xcode 11) - for macOS 10.14)
Xcode 10
Xcode 10.2.1
- (Command Line Tool (Xcode 10.2.1) - for macOS 10.14)
Xcode 10.2
- (Command Line Tool (Xcode 10.2) - for macOS 10.14)
Xcode 10.1
- (Command Line Tool (Xcode 10.1) - for macOS 10.14)
- (Command Line Tool (Xcode 10.1) - for macOS 10.13)
Xcode 10
- (Command Line Tool (Xcode 10) - for macOS 10.14)
- (Command Line Tool (Xcode 10) - for macOS 10.13)
Once you've latest command line tool installed in your system, set it from Xcode Menu.
(Xcode Menu Items) Xcode ▶ Preferences ▶ Location ▶ Command Line Tool ▶ Select appropriate command line tool
If you have upgraded your MAC from the App Store, then you need to run: xcode-select --install
When I ran git --version before running the command above, it didn't find git at all. It displayed this error: missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun. So, I'm guessing when I upgraded my machine somehow I lost git. Regardless, running the above command worked.
I then ran git --version and it showed the git version that was installed.
Reference: http://tips.tutorialhorizon.com/2015/10/01/xcrun-error-invalid-active-developer-path-library-developer-commandline-tools-missing-xcrun/
After installing OS Mojave and installed new Xcode tools i just had to check again the tools in:
Xcode > Preferences > Locations > Command Line tools = Xcode 10.0
Sometimes its version issue.
Installing CoacoaPods 1.7.5 did the trick.
sudo gem uninstall cocoapods
sudo gem install cocoapods -v 1.7.5
pod setup
Hey this might help you!!! I followed this link
https://stackoverflow.com/a/16664135/7905401
After installing command line tools i closed it and opened terminal again now when i checked version git --version it gave me update version 2.10.0 then i ran other commands for cocoapod!! its working!!!!!!!!! yeeeii!!!!
I fixed the problem with next steps:
sudo gem install cocoapods --source http://rubygems.org
after command finish entering new command
pod install
and work for me on xCode 11.2
I followed this
After installing command line tools, I closed it and opened terminal again. Now when I checked version git --version, it gave me update version 2.10.0 then I ran other commands for cocoapod.
Now it is working.

Installing Xcode 3.2.5 on Mac OS X 10.6

This is my systems software config.
System Version: Mac OS X 10.6 (10A432)
Kernel Version: Darwin 10.0.0
i am trying to install xcode 3.2.5 but it says that need 10.6.4. What is the latest version that i can use with installation and i think 10.6 is snow leopard so this version should work. but i m a very very new as far as mac is concerned and know close to nothing. so please any pointers as to what i should do would be greatly appreciated.
regards,
khizar
You need 10.6.4 or later. Upgrade from your 10.6.x to the latest version of 10.6, the upgrade is free, just select "Software Update..." from the Apple menu.

Resources