I need to build one iOS app and one Mac OS app on the same machine. Mac OS app needs to run on 10.5, and even though Apple claims you can build with the 10.6 SDK and run on 10.5 by setting the right target value, it's not true. Simple things, like the name/version of libssl, are different on 10.5 and 10.6 which makes this impossible.
Anyway, so I'm about to try and install XCode 3.2.6 on the same machine as I have XCode 4 on - any tips/gotchas/guides?
Thanks!
That should work fine, however it's best to install XCode4 last. So if you install XCode3 you'll want to re-install XCode4 as well after (to keep the system tools at the latest version).
I'd also recommend XCode4 go into /Developer, and XCode3 goes into a folder with some other name, as it's had more time to be hammered out to work installed in different locations.
Related
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)
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.
I am developing an app with Xcode 4.0.2 and iOS 4.3. Now I would like to upgrade to Xcode 4.2 and iOS 5 so that I could make my app ready when iOS 5 releases in October.
I am told by Apple's website that I should not submit apps that are built by Xcode 4.2 and should do it with the older Xcode 4.0.2, since the Xcode 4.2 and iOS 5 thing is still in beta.
But in the following few weeks I still need to have newer versions of my app submitted to App Store. So my question is,
If I upgrade my Xcode to 4.2, is it possible for me to switch back to Xcode 4.0.2?
If yes, how?
Thanks in advance!
You can simply install two versions of Xcode at the same time. During the installation it will let you choose the destination folder; you can pick another folder. For example, I use /Developer/Xcode (4.2). (However, if you did install 4.2 over 4.0.2, I don't think you would have a problem if you just ran the 4.0.2 installer again to downgrade.)
Taken from About Xcode.pdf (<Xcode>/About\ Xcode.pdf)
Installation
The Xcode installer will create the folder /Developer on the root of your boot partition, and place the Xcode developer tools and SDKs in this folder. If you have a previous version of Xcode you would like to preserve, you can copy the existing installation from /Developer to another folder to prevent having it updated automatically by the installer.
I would be cautious of this note (possible problems from incompatibility of tools???)
NOTE: The Xcode installer also installs system components and UNIX command line tools in a shared location on your Mac. Only one version of these components can exist on a computer at a time, and the last installed version replaces any previously installed set.
I always make sure I have a bootable drive with a decent working copy of xcode ready for releases in case I need to push a quick fix.
You can install 2 XCode in different folders.
Then you can switch back and forth.
Can I have multiple Xcode versions installed?
Simple question, I want to know if anyone has had any weird or annoying problems with developing iphone apps in Xcode after upgrading to Lion. I remember having issues when Snow Leopard first launched. Are there any early adopter penalties here?
A big one for me: no more PowerPC emulation via Rosetta in 10.7 - important to think about if you need to do testing for legacy PowerPC code.
Fortunately you can still use Xcode 3.2.6 though if you don't want or need to use Xcode 4.1 - if Xcode 3.2.6 is installed prior to upgrading t Lion then it should still work, alternatively there are instructions available for installed Xcode 3.2.6 when Lion is already installed.
I just had the problem, that I had to upgrade to Xcode 4.1 because lower versions of Xcode don't work on Lion. ;-)
You have to download the latest Xcode 4.1 to do development on Lion. 4.0.x won't work.
You also have to learn how to scroll down pages like a flight simulator (you can turn it off). If you got used to the neat gestures in Snow Leopard, then get ready to completely start over again with new ones (no going back on Lion). Three finger web page navigation doesn't work, 4 finger application switching doesn't work, and a new "explosion" gesture is used for desktop and mission control.
The only thing i have noticed so far is that if you run Xcode in fullscreen mode, simulator can't be on same screen... And yes, you have to download new Xcode 4.1 from appstore... Everything else is pretty much amazing :-D
When you try to install Xcode 3.2.6 on Lion, Xcode toolset is greyed out and marked as skip. There is a simpler way to install it then those once described above. Here is the steps:
Mount the developer tools dmg
Open Terminal and run these two commands:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
Enjoy.
Be prepared for the new Xcode to remove the /Developer directory as a part of its cleanup process. This will wipe out QT in the process since it's installed there as well.
So if you want to keep QT intact you should skip Xcode's cleanup step or install a fresh QT afterwards.
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