Error downloading Xcode on macOS - xcode

When I go to the Apple app store and tried to download I got the below response, can I get any idea how I can bypass this issue?
Xcode can’t be installed on “Macintosh HD” because macOS version
10.13.2 or later is required.

It seems like you have old OS X. Try to download from the internet Xcode 3/4/5.
https://www.appcoda.com/how-to-download-older-version-of-xcode/
Read this about older versions.
To check your OS X:
Go to the left top part of the screen.
Press "About This Mac". Now you see your OS X and can Google for suitable xCode version.

You are probably running Sierra or less, You need to update you Mac OS X into High Sierra in order to update and use the latest Xcode 9.3.
Note: You could be running High Sierra but make sure you update to the latest OS X Release from App Store > Updates Tap and make sure its all updated.

Related

Update Xcode 10.1 to 10.2 on High Sierra 10.13.6

I'm trying to update Xcode 10.1 to 10.2 on my High Sierra 10.13.6 version.
The App Store window shows the update button, but the problem is after hitting that button, the circle on the upper-left corner is just rotating for hours and nothing else happens!
Since the difference between the two versions is not that huge, the update naturally must be downloaded and installed after some time, but in effect it's not that way!
How to solve that issue, please?
I am using Xcode10.2 on High Sierra 10.13.6, and can build several projects for my iPhone 5s and 6s Plus which working on iOS12.2. The process is similar to Damnum’s.
Change the name of working Xcode like Xcode10.1.
Download Xcode 10.2 and copy it into Applications folder. (The name is of course Xcode.)
Edit Xcode.app/Contents/Info.plist and change the Minimum System Version to 10.13.6 with Xcode10.1
Edit Xcode.app/Contents/Applications/FileMerge/Contents/Info.plist and change the Minimum System Version to 10.13.6 with Xcode10.1
Edit Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist and change the Minimum System Version to 10.13 with Xcode10.1
Launch Xcode (it is 10.2) and install the rest of items.
Now you can use iOS12.2 features in the Xcode.
I tested my own projects and several sample projects from iOS 12 App Development Essentials by Neil Smyth. All of them work fine on my devises including camera app.
Follow these steps:
Download Xcode 10.2 via this link (you need to be signed in with your Apple Id): https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_10.2/Xcode_10.2.xip and install it
Edit Xcode.app/Contents/Info.plist and change the Minimum System Version to 10.13.6
Do the same for Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist (might require a restart of Xcode and/or Mac OS to make it open the simulator on run)
Replace Xcode.app/Contents/Developer/usr/bin/xcodebuild with one from 10.1
The difference between the two versions is not that huge for example Swift 5.0 allows to build projects without the embedded Swift Libraries.
Xcode 10.2 doesn't run in High Sierra. It requires macOS 10.14.3
As it doesn't appear to have been mentioned in the existing answers/comments, for completeness, the last version of Xcode to run on High Sierra (macOS 10.13.2) is version 9.4.1, but on macOS 10.13.6 the last supported version of Xcode is version 10.1
From Xcode want install on high Sierra 10.13.6:
https://en.wikipedia.org/wiki/Xcode has a good summary of compatibility versions. Looks like for 10.13.6 you'll need Xcode 9.4.1
Looking on https://developer.apple.com/download/more/
Command_Line_Tools_macOS_10.13_for_Xcode_9.4.1.dmg
Xcode_9.4.1.xip
However, once 9.4.1 is installed upon 10.13.6, then there is an update offered for the CLT on the AppStore to version 10.1,
When the Xcode 7.0 - 10.x section of the Wikipedia page is checked, it can be seen that the quote above is not (entirely) correct, depending upon which version of High Sierra you have installed:
For 10.13.2, Xcode 9.4.1 is the last supported version
Command_Line_Tools_macOS_10.13_for_Xcode_9.4.1.dmg
Xcode_9.4.1.xip
For 10.13.6, Xcode 10.1 is the last supported version
Command_Line_Tools_macOS_10.13_for_Xcode_10.1.dmg
Xcode_10.1.xip

Re-install os x Yosemite beta for developer after mac hd initialized

I've got os x Yosemite beta 3 for developers.
I need to format or initialise my macintosh HD and re-install it, but how am i sure that i will be able to re-install it? Because if I go on developer.apple.com and I try to re-download the Yosemite from apple store, it tells me that the code is already used; exactly:
Code already used
So how to know if i will able to re-install the Yosemite beta and not mavericks?
I need Yosemite and i need to format.
Thanks
Download it from the App Store, using the account you redeemed your code on. From there, you can reinstall it using the app or maybe make a install media using this: http://support.apple.com/kb/HT5856

Cannot Upgrade Xcode App Crashes After IOS 7.0.3 Upgrade

I am in a world of pain so confused.
I have updated my ipad and iphone to ios7.
I have been developing with titanium mobile and when i open my project in xcode and trying to run on the device i now get this error.
No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.
So after googling around i notice i am running xcode Version 4.6.3 (4H1503). So i thought i might need to be update.
So i went to the mac store found xcode and then clicked update, and i know get this error.
Xcode can’t be installed on “Macintosh HD” because Mac OS X version 10.8.4 or later is required.
So i done some more googling and now i am here all the links i find take me back to the app store where i get the above error.
Can someone please help, after updating to io7 version 7.0.3. My app now crashes so i need to debug on the device to find out why this is happen
Help
UPDATE
my mac is running Software Mac OS X Lion 10.7.5 (11G63) and when i click check for updates i get this alert.
Software Update doesn’t have any new software for your computer at this time.
You need to upgrade your mac to the OS X Mavericks. Click the Apple icon on the top left and select "App Store...". Search for "Mavericks". Click "Free upgrade" (yes it is free :-). After that you will be able to upgrade Xcode to 5.x release.

Working with XCode 4.3 installation

I installed XCode 4.3 from App Store. When i run the application the xcode version is showing 4.1.
Present my mac version is Mac OS X Lion 10.7.3. Can any tell me the process how to load xcode 4.3.
Thanks in advance.
Just install it from LaunchPad.
You may have to explicitly go to the Mac Store and get this update as though it were a new download; it used to come through Apple->Software Update in the past (and I think in the future it will be a Mac Store update that you get just like any other Mac Store update), but this particular transition (4.2->4.3) is a bit more work.

XCode 4.2 not getting installed on my mac

I want to install XCode 4.2 on my mac. I have the dmg, but when I start the installation process, I get the file size as zero kb. Attaching the screen shot of the same:
Can anyone tell me what the problem might be???
The Mac version i am using is 10.7.2....
I have tried changing the install location, but it was of no use.
The installation process takes around 15 mins (although the size is zero kbas is in screen shot) and at the end, I am getting the message "Installation Completed"
EDIT:
For mac OSX version 10.7.2 (Mac OSx Lion), Do I need to download XCode 4.3. The dmg that I have got from one of my friend is titled "xcode_4.2_and_ios_5_sdk_beta_6_for_snow_leopard.dmg". Also, I have tried installing XCode 3.2.6 and it also is experiencing a similar problem.
what have you used for downloading?
The most of download managers downloads damaged files when Internet connection error was occured. The second type of managers stops downloading herein.
Don't use itunes if you can. I advice you to download xcode via torrents because they are protected from these downloading errors. Or at least try to download it via firefox because it stops the downloading instead of masking download erros.
I read the following in the Xcode Release Notes (developer account required) in the Apple developer documentation:
Installation
You can install Xcode 4.2 for Mac OS X v10.6 Snow Leopard only if you have purchased an earlier release of Xcode.
Install or update Xcode through the Purchases or Updates panes.
If you purchased Xcode from the Mac App Store, the Install Xcode app is on the volume on which you installed Xcode.
To install Xcode 4.2 on another volume, you must delete all copies of the Install Xcode app from your file system.
Maybe the first point explains your problem!?
I have downloaded the new dmg of XCode 4.2 from apple developer portal (developement tools). Its XCode_4.2_for_Lion. And it has got installed without any problem.

Resources