Upgrading Xcode to 3.2.6 - xcode

Hey I am upgrading to Xcode 3.2.6 now to test my app on 4.3 device as I will apply for the developer license tomorrow. Does the Xcode install itself over the old one or should I be worried about something?

You have nothing to worry about if you mean upgrade (not downgrade).

Xcode installs over itself, unless you choose a different install directory. Theres nothing to worry about, you can always do a complete uninstall and re-install a previous version (If you have it saved somewhere, I have the SDK's saved since iPhone SDK 3.0)

Related

Xcode version is different to the version listed in my App Store applications

I recently updated Xcode to version 6.4. In the App Store it says I have version 6.4 installed, but when I run Xcode it says version 6.3.2.
Does anyone know how I run Xcode version 6.4? Do I need to uninstall and then reinstall Xcode?
I installed it using the App Store and updated through the App Store as well.
So while I was unable to find out where Xcode 6.3.2 or 6.4 was installed on my mac, I uninstalled Xcode by dragging the application to the trash can and emptying it as recommended by Apple.
I then reinstalled Xcode 6.4 from the App Store and it appears to be working.
While it is a simple thing, I thought I would share as sometimes the simple solutions are the ones we don't think about.

AppStore keeps telling me to update XCode

I have updated my XCode to the latest 5.0 version. But recently I noticed that the AppStore still offering update-option for the XCode. When I checked the installed XCode version, it shows 5.0. What's that suppose to mean? Has it been updated or not?
Restart the computer, then open the App Store back up and if it is still there then it is nothing to worry about.

how to fix old xcode installations on mac

I had xcode 3.2.something. and iwth ios sdks 3.0-3.1-....4.1 and 2 iphone simulator sdks.
Now i installed xcode 4.0 with ios sdk 4.3 something like that.
Now all my previous applications cannot be launched nor on device nor on simulator because there's not a single old sdk available.
so next i reinserted the original cds containing macosx and xcode and reinstalled the first xcode i used, but now there's not one ios sdk available at all.
i've been surfing the net for hours now, andi have a couple of questions:
1)have i had to uninstall the xcode 3.2.x before installing xcode 4?
2)how to uninstall applications on mac??? just to make sure that the answer i've found is the correct one.
3)how can erase the traces of all previous xcodes and their sdks in order to install the original one, now that i learned how to install different xcode versions side by side.
4) now what do you think i should to recover? do i have to back up everything and reinstall mac from the beginning?
thank you
So, your questions:
1. Have I got to uninstall XCode 3.2 before installing XCode 4? - No, you don't, but the XCode installer will overwrite your old copy by default. When installing the newer version of XCode and the iOS SDK you must specify a different install directory (eg, create a new folder in the root of your drive called 'Developer 4' for XCode 4.
2. How can I uninstall XCode? - Normally on a mac you would just drag your application to the trash, but it's a little more complicated with XCode. Refer to the instructions at this link: http://pushkararora.com/how-to/how-to-uninstall-xcode-completely/
3. How can I erase all traces of all previous XCodes? - see the answer above for question 2 :)
You can obtain old versions of the SDK from various unofficial online sources if you need to roll back to iOS 3 SDKs. However, it may not be all that much work to move your apps over to the 4.x SDKs.
ok it turned out that at the beginning i was using xcode 3.2.4 with ios sdk 4.1
The xcode that comes with mac osx only targets mac sdk. No iphone support
So i got xcode 3.2.4 setup from a backup (you can find it online) and installed and this should work
And now i have 3.2.5 using sdk 4.2 and targetting all till 3.0
and also xcode 4.0.2

Base SDK missing after a fresh install of XCode 3.2.5 which includes iOS SDK 4.2

I'm new to iPhone development. I just did a fresh install of XCode 3.2.5 with iOS SDK 4.2. No previous XCode or iOS versions have been installed before. However trying to compile some sample project from some books gives "Base SDK Missing". :( What to do? How can I use XCode 3.2.5 for older iPhones like 3GS if it only supports 4.2?
When I go to "Project/Edit Project Settings/Architecture/Base SDK/iOS SDK's" only iOS 4.2 is available to be selected.
Do I need to install older XCode first and then upgrade?
In the build settings, you can support older phones by setting "iOS Deployment Target" to something like 3.0. http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html has more details on the difference between this and the Base SDK setting.
Set Project/Edit Project Settings/Architecture/Base SDK to the Latest OS version, then quit and restart Xcode. You can later set the Deployment target to a lower OS version.
I had the same problem for most of the afternoon. I did everything suggested and nothing worked UNTIL I cleaned and cleaned and saved and rebooted and re-built. Unfortunately that doesn't tell me what actually worked, but it does give everyone "just one more thing" to try.

iOS4.2 and iOS4.1 on the same machine?

I'd like to start testing iOS4.2 so I downloaded xcode 3.2.5 and iOS4.2 beta SDK. Unfortunately, I think it installed over my previous xcode 3.2.4 and SDK 4.1. Short of downloading 3.2.4 and 4.1 and installing to another directory, is there a way to get the 4.1 SDK into 3.2.5 and compile both SDK versions?
Thanks!
Seems like with the release of iOS 4.2, Apple is going to want 4.2 to reign king. At least with Xcode 3.2.5 GM, the only SDK included is 4.2.
You can have two versions of Xcode installed though - when choosing what optional things you want to uninstall, uncheck everything and change the location Xcode installs to (it defaults to /Developer). I was able to get 3.2.5 (can compile against 4.2) and 3.2.4 (everything else) running and working on the same machine. This will allow you to have both the 4.2 and 4.1 SDKs on the same machine.
Good luck!

Resources