Xcode isnt Installing
I tried installing Xcode on appstore, but this error occurs:
We could not complete your purchase.
Xcode can’t be installed on “Macintosh HD” because macOS version 12 or later is required.
Then I tried to get older versions of xcode like xcode 11, but it comes up with this:
In order to use “Xcode”, you need to update to the latest version.
The version of Xcode installed on this Mac is not compatible with macOS Big Sur. Download the latest version for free from the App Store.
My mac is
macOS Big Sur, Version 11.6.7
M1 Chip
MacBook Air 13″, macOS 11.2