Is it possible to run Xcode11 in macOS Big Sur? - xcode

I get following error:
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.
This is on a M1 Mac (ARM, Apple Silicon).

I was able to bypass the macOS denial-prompt, to run Xcode 11.7 on Big Sur (11.0.1) on my M1 MacBook Air, by running the executable directly from Terminal– for example:
/Applications/Xcode.app/Contents/MacOS/Xcode
I just needed to compile, archive, and export a specific app, and it at least worked for that.

Related

Xcode 13.1 stuck on installing simulator on Apple M1 Pro

I'm trying to download and install older simulators like iOS 12.4, after it has downloaded it gets stuck on installing.
I have a MacBook Pro 14" (Apple M1 Pro chip) using Xcode 13.1 on macOS Monterey 12.0.1
I've tried running Xcode in Rosetta mode to no avail.
I've tried the answers in this thread to no avail.
Updating to Monterey 12.1 resolved the issue.
Same issue when running Xcode in Rosetta mode.
My way: Just close the simulator and use another one.
It seems an issue on Xcode in Rosetta mode

How to build a Go app that can cross-macOS-version?

Here is my recently created macOS app: https://github.com/evillt/macmineable-release
and here is my facing issue: https://github.com/evillt/macmineable-release/issues/18
I built the app on my machine it can run normally on any BigSur device, even M1 devices, but can not run on Catalina(10.15).
So what I want is to build a version that can run on multi-macOS-version with a single app.
Huge thanks for any suggestions!
update
My device is MacBook Pro 2015, Intel I5 chip, Big Sur 11.5.2.
I build this app on my device, it can run normally on:
My device
MacBook 12-inch Big Sur 11.0
Other M1 devices (Big Sur 11.0 or above)
But can not run on MacBook Pro Intel I7 Catalina 10.15.7. The issue here.
That is all I know.
You need to change the CC compile go uses during your builds.
go env CC
clang
which most likely uses the version in /usr/bin/clang
if you have Xcode installed - or really just the Command Line Tools you can see a variety of versions for the last few major releases e.g.:
$ find /Library/Developer/CommandLineTools -name clang
/Library/Developer/CommandLineTools/usr/bin/clang
/Library/Developer/CommandLineTools/usr/lib/clang
/Library/Developer/CommandLineTools/usr/lib/swift/clang
/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/A/lib/clang
/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/A/lib/clang
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/A/lib/clang
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang
so to build against an older SDK like MaxOSX10.15, set CC to the explicit version you need for your go build like so:
CC=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang go build
I have good experience building as a Unix executable and packaging as a Mac app, by using the instructions manual at
https://medium.com/#mattholt/packaging-a-go-application-for-macos-f7084b00f6b5
build Unix exec file
go build -o bin/{program} {program}
Packaging the application on macOS (Big Sur) and installing it on macOS (High Sierra) was successful.

Xcode can’t be installed on “macOS Sierra” because macOS version 10.14.3 or later is required

I need to pair my PC to a macOS to run the ios simulator in Xamarin .
After downloading and running macOS high Sierra 10.12 virtual machine and downloading the Xcode I got some error ,
The error : Xcode can’t be installed on "macOS Sierra" because macOS version 10.14.3 or later is required.
I don't know if I have to download a new virtual machine or to update macOS Sierra or to download an earlier version of Xcode but each of these takes too much time so I need a guaranteed link for downloading if this the solution .
From iOS 12.2 you'll need to have Xcode 10.2 to build.
Xcode 10.2 require Mac OS Mojave. So you'll need to update your os

Xcode can’t be installed on “Macintosh HD” because macOS version 10.13.6 or later is required

I am struggling to build app with unity on xcode.
In the beginning, I could not build the app on my iPhone from xcode because I got this error
This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS
12.1.2 (16C101), which may not be supported by this version of Xcode.
I also tried to install the older version xcode but it did not work since it requires new version as mentioned above.
Then, I attempted to reinstall xcode now and got error
Xcode can’t be installed on “Macintosh HD” because macOS version
10.13.6 or later is required.
I am using version 10.12.6 macOS Sierra and I think that there should be available installation version 10.13.6 on my App Store but 10.13 doesn't show up in my app store updates section.
Therefore, I went to Apple official page to upgrade to 10.13 but it said that this update requires macOS version 10.13.
I cannot install even version version 10.13.
How can I update my OS and install xcode to solve this issue ?
find the Xcode version corresponding to your current OS version here https://developer.apple.com/support/xcode/
download it using your Apple Developer account here https://developer.apple.com/download/
To Install the latest macOs version,
click on apple icon click on About this Mac, then click on software update
It will show you latest macOs version available, then you can install latest version of XCode
Install Latest Mac Os Youtube video
You need to download macOS version 10.13.6. You can download it from here You may need to have a developers account but you can get a free one by going to Apple developers. You may need to google that. Once you get 10.13.6 loaded you can then download Xcode 10.1
I had same problem
You must upgrade to latest macOS version.

Unable to install xcode 8.3.2 on virtual machine of mac os 10.10.5

I'm new to xcode iOS development, trying to develop an app for iOS version 10.2+ . I have installed a Mac OS 10.10.5 on my Windows using vmWare(version 12). I tried searching for latest version of iOS 10.12 Sierra iso image but was unable to find it.
Now, the problem is Mac OS 10.10.5 supports xcode 7.2.1 which is used to to develop apps upto iOS 9.2 .
Is there any alternative I can use to run my app on the iOS 10.2+ without using a simulator.
Finally I want to develop an app for iOS version 10.2+ .
Try to install xcode 8.3.2 in Mac os 10.12.

Resources