Failed to install: xcode_4.2_and_ios_5_sdk_for_snow_leopard on OSX 10.6.8 - iphone

I need to compile some apps with the iOS 5 SDK so I discovered I need to upgrade from xcode 3 to xcode 4.
My mac is on OSX 10.6.8, and I downloaded xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg from my iOS developer account. The image opens fine, does a check to confirm it can be installed, etc. but when I try the install, I get
"the installation failed. an unknown installation error occurred"
How can I fix this problem? Is there a log file to check?

Although this sounds ridiculous, set your computer clock to 1/1/2012 and it will install.
I had exactly the same issue. There is some date / time issue with Xcode's installer.

Found a proper solution at https://superuser.com/questions/410573/cant-install-xcode-on-os-x-snow-leopard :
Install this: Apple Software Installer Update 1.0.
About Apple Software Installer Update 1.0: "This update addresses an issue that may prevent certain Apple software from installing. This update is recommended for all users running Mac OS X 10.6.8."

I'm not sure that you can instal xcode 4 on OSX 10.6 :/
i have face this before and they said you have to upgrade to OSX 10.7 to install xcode 4

Related

Xcode 4.6 running OS 10.7.5

The App Store says I have an update available: XCode 4.6. I'm still running OS X 10.7.5. Will XCode 4.6 run on this OS? I looked at the App Store and Mac Developer site and couldn't find what OS version was required for 4.6.Kindly give me link for Xcode 4.6 running OS 10.7.5. Many thanks.
It will work without any issue. Maybe this page about Xcode Release Notes will be useful for you
When the Mac App Store shows the Application it should run on your system because as on iOS you can decide as developer which OS versions you support. Apple decided to show you the update - so they decided to allow 10.7.5. There are also no information about discontinuing support for 10.7.5 in Xcode 4.6 release notes.
Yes, I'm running 4.6 on 10.7.5 here.
You can go right ahead and download it from the app store.
If you're concerned about it screwing up your existing work, you could rename your existing install. (to ".old" or something)

How to run xcode project in xcode 3.1 developed in xcode 4.3?

I have installed Mac OS X Snow Leopard 10.6.2 on Windows 7 PC with the help of Virtual box. On that I have installed Xcode 3.1 as it was the compatible version of Xcode on Mac OS X 10.6.2.
While running Xcode project in Xcode 3.1 developed in Xcode 4.3 I get lots of errors.
Is there any way where I can make the codes compatible on xcode 3.1 or at least upgrade xcode 3.1 to xcode 4.3 (nearby) which will be supported by Mac OS X 10.6.2
If you sign in with your developer account at http://developer.apple.com/ios, you'll see that there's a link to "Xcode 4.2 for Snow Leopard". That's what you want. Xcode 3.1 is WAY out of date, and does not include any of the current SDKs.
Its been a while since you posted this so I hope you or others finds this useful. I had the same issue with Mac OS X Snow Leopard running on VirtualBox and not being able to run a later version of Xcode than 3.1. My understanding is that running Mac OS as a VM does not not allow you to run the standard built-in upgrade utility to upgrade the OS.
The resolution that worked for me was documented here How to install Snow Leopard Hackintosh in Virtualbox.
The following method is hacky and has not been thoroughly tested in any way. Use these instructions at your OWN RISK.
First you will upgrade Mac OS Snow Leopard then you will install Xcode 4.2 The steps you'll need are the following:
Take a snapshot of your Mac OS VM in case something goes arigh
Search google for "10.6.7 combo update" (replacing version number with the one you need)
Download the combo update from apple's official site and run
Complete the install (DO NOT REBOOT)
Google "10.6.7 legacy kernel" and download replacing version number with same version number as the combo update (the author of the article recommends finding kernel by nawcom)
Install legacy kernel
Reboot Mac OS and your upgrade should be complete
(Note: when I rebooted the spinning wheel that appears during bootup stopped after a min or two. I had to force restart the VM with VirtualBox and it appeared to have updated properly)
Once in Snow Leopard click on the time/date in upper right hand corner and click "Date & Time Preferences"
Uncheck "Set date and time automatically"
Change the date to 01/01/2012 (this is because of an expired cert check that is checked during the install)
Google "xcode_4.2_and_ios_5_sdk_for_s­now_leopard.dmg", download, and install it
Once installed you should now have a working copy of Xcode 4.2.

xcode cannot be opened because of a problem

When i want to opened Xcode then i m getting error message. Like "Xcode cannot be opened because of a problem Check with the developer to make sure Xcode works with this version of Mac OS X. You may need to re-install the application. Be sure to install any available updates for application and Mac OS X... Click report to see more detailed information and send a report to Apple".
and when i m searching .dmg file in mac i m not getting any file related to xcode so please help me out of this problem.
Thanks & Regards,
Priyanka
Do you have Lion or Snow Leopard? Which version of Xcode do you have?
If you just installed Lion, try downloading Xcode 4.
Or else just try to reinstall your Xcode: https://developer.apple.com/xcode/index.php
try to reinstall XCode use this command to remove XCode completely
sudo /Developer/Library/uninstall-devtools –mode=all

Xcode 3 wont allow me to Install Xcode toolset

So I attempted at giving Xcode 4 a swing, after uninstalled XCode 3, and it failed me.With all the shortcuts out of place i didn't feel at home. So i uninstalled XCode 4, and began installing Xcode 3 once again. but this time. I am no longer allowed to download the Xcode Toolset.!
http://tinypic.com/r/29z242d/7
At first i assumed that the Xcode toolset would someone works it way into the instillation and it would all work out. but after installing this more that 3x on my computer I cannot seem to FIND XCODE at ALL! nor can i find iOS simulator or any other software. What do i have to do inorder to fix this?
I think this is happening because I inappropriately uninstalled Xcode 3 the first time, I used an application called App Zapper rather than running the -sudeo command...
You can install Xcode 3 on Lion using the following method:
Mount the Xcode 3.2.6 DMG
Open Terminal
Enter the commands:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
Use at your own risk as Xcode 3 is not supported by Apple on OSX Lion.
If you are installing alongside Xcode 4, make sure to install into a different directory (create this in Finder first), and then you can untick all the boxes apart from the Essentials and it'll run just fine.
Source: http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-on-lion-redux
Just a heads-up: on Mountain Lion and Mavericks (and quite possibly on other versions as well, but I only "tested" this two...) this causes a kernel panic at startup, so I would advise against installing Xcode 3 on them.
If you already did that, and need some help, here and here are some information.

Xcode's shared workgroup 'Unreachable' after Snow Leopard/Xcode upgrade

After upgrading to OS X 10.6 (Snow Leopard) and iPhone SDK 3.1 (with Xcode 3.2), Xcode's shared workgroup builds (distributed) can't seem to find or access other computers in our office.
Distributed builds worked perfectly in OS X 10.5 with iPhone SDK 3.0.
All the computers that have upgraded are now listed with a status of Unreachable. Even my own computer, artanis, is listed as Unreachable!
I've already tried all of the suggestions listed in Troubleshooting Distributed Network Builds. And none of us have the OS X firewall enabled.
Any suggestions?
Here's a screenshot:
Xcode Preferences Screenshot http://img170.imageshack.us/img170/3972/screenshot20090917at104.png
The solution seems to be to run Xcode in "32-bit" mode - you set this in the "Get Info" dialog in the Finder.
You must re-install Xcode using the version on the Snow Leopard DVD. The iPhone SDK must be re-installed afterwards.
Edit: I just noticed that Apple started distributing Xcode 3.2 with the iPhone 3.1 SDK. I would recommend you to attempt a full uninstall of the developer tools, as described in the SDK release notes (see developer.apple.com), and then to re-install it. You should also check that each computer have a unique name set in system preferences>>sharing. As a last resort, I'd check that Snow Leopard was booted in 32-bit mode (it does by default), and (just for the test) try to boot Snow Leopard in 64-bit mode (hold the 6 and 4 keys while booting).
Edit 2: Check this thread, it seems related. Maybe you should try to enable Xgrid in sharing preferences?
I had a problem installing it now it works since it needed for the xcode and ipphone sdk the firewall disabled to install, I think that fix my problem where it did not want to install the files strange bug I guess, with firewall on , the installer fails to install, and I am still in 64bit mode