XCode 4.2 not getting installed on my mac - xcode

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.

Related

Xcode 7.3.1 update stuck? is it downloading?

Trying to download Xcode 7.3.1 but download process is stuck for atleast 1 - 1/2 hour, is it stuck, is it going to complete? I have latest Mac OS installed
Tried solution provided on this link but non worked
XCode 7.3.1 Update Not Installing
It always happens to me (Well, not always but it happens, and also with another apps). What I do is to delete the Xcode app, and then install it again from the App Store or from the Developer's site.

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.

Xcode download for Snow Leopard

Older threads mention that there is a download for Xcode for Snow Leopard listed in the Xcode downloads on https://developer.apple.com/downloads/index.action?name=Xcode if you are logged-in as an enrolled iOS developer - but I can't see it.
A comment on this thread has a direct link to the download, but clicking on the link redirects to an "Access Denied" error page:
https://stackoverflow.com/questions/7662246/cant-download-xcode-4-for-snow-leopard-anymore
you can refer to here. or if you have a good internet connection, try to download via torrent. here is the link. link for xcode via torrent.
Your Required software is available at this link, https://developer.apple.com/downloads/
Currently Xcode 4.2 is on 6th page.
Please note: OS X 10.6.8 (snow leopard) is now TOO OLD to publish an app.
You need a mac with OS X 10.8 (mountain lion). Apple have not maintained backward compatibility: the minimum versions of Xcode or Application Launcher needed to meet the app store requirements won't run on 10.6.8.
You can develop, test and simulate with your old mac, but ultimately to build and publish your app you'll need a newer Mac.

Xcode failed to install

I am trying to install Xcode 4.2 on my Mac system having OS version 10.6.8.
Actually, I removed the Xcode from the system and tried to reinstall it.
I quit iTunes before installing it, and I have enough free space on disc (111 GB). Below is a screenshot of the error. What should I do?
Set your system time to 1st January 2012 or earlier (but not too early), as the certificate that signed the package has expired.
I had the same error message. In my case, it was solved by updating the OS software. There was an update waiting for "Apple installations software". After the update, Xcode installed perfectly well.
I found out I could download the installer directly from Apple instead of through the app store, and that the error described by the accepted answer could also be circumvented by installing the Mobile Development Framework manually.
See forum post Problems installing Xcode on Lion for more details.
I had the same trouble on Mac OS 10.8.5 when installing Xcode 4.4.1, Xcode 5.1.1, and Security_Update_2014-005. It turned out that the reason was the same in all these cases: an incompatibility with Vodafone/Huawei UMTS drivers. A workaround in this case is to temporarily move them away, e.g.
mv /System/Library/Extensions/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} ~
Then do the installation/update, and then restore those drivers, e.g.,
mv ~/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} /System/Library/Extensions/

iphone OS 3.1.3 requires snow leopard upgrade

itunes asked me to upgrade my iphone's OS to 3.1.3, so I complied naively.
then xcode told me that the latest iphone OS version it could support was 3.1.2. So I went to download a new version from https://developer.apple.com/iphone/index.action#downloads, xcode 3.2.2 with iphone SDK.
but when i went to install that, i was told I needed snow leopard 10.6.2 or later. so I'm just making sure that I am not misinterpreting anything when I say that, given that it is impossible to downgrade iphone OS versions without jailbreaking, I need to install a new version of the OS just so I can resume testing apps on my iphone?
given that it is impossible to
downgrade iphone OS versions without
jailbreaking
I'm not sure that's correct. I've done it before on ipods. If you go to ~/Library/iTunes, there's a few folders in there. Look through the folders for files with an "ipsw" file extension. These are the software upgrades. When you perform an upgrade, the upgrade file is saved here. So find the one you want to "downgrade" to. If you can't find it you may be able to google for it. In any case find the appropriate file. Then in iTunes if you option-click "Check for Update" it asks you to choose the file you want to use to perform the update instead of running the update check normally... so just select the ipsw file. That should "downgrade" you... I think. As I mentioned I did it a few years ago on an ipod.

Resources