Upgrading iphone sdk to 3.0? - iphone

This is the first time that I'm upgrading the iphone sdk and am wondering if there is anything else needed to use the upgraded version with xcode besides just installing it?

I just installed the updated package and it indicated what would be upgraded, let it finish and then opened my projects and went on. In your projects you will have to make sure you are targeting the 3.0 OS though. And make sure your device is up to date as well(if using hardware for testing)

Nope, just install it, make sure you have 3.0 on your iphone or ipod touch tho :), this is for most cases anyway, here is a doc that might help you tho http://adcdownload.apple.com/iphone/iphone_sdk_3.0__final/iphone_os_3.0_sdk_readme.pdf

Related

how to update ios?

i have
xcode=3.2.5
ios=4.2
NOW
i want to update only ios to 4.3
i don't want to update xcode,
how to do so?
Thanks,
Shyam
Recent versions of Xcode will work with devices that have newer version of iOS. When you plug it in afterwards it will volunteer to download the symbols; it should "just work" after that. (I say "recent versions" since I'm not sure exactly which version was the first to do that.)
Having said that, I'm not sure that's a good idea for anything other than a point update (i.e., 4.3.1 to 4.3.2). What's your objection to updating Xcode? The download link for Xcode 3 is still present if you'd rather not move to version 4 just yet.
As Jim said, you can't only update the iOS SDK version.
You can, however, install the latest Xcode in another directory and copy over the SDK to your older developer installation.
EDIT: Actually, it depends whether or not you don't want to update at all, or just to Xcode 4. The current available version of Xcode 3 includes the latest iOS SDK, 4.3, so you could update to that. Older Xcode versions will probably be phased out eventually, though.
You can't, as far as I know. Apple couples the IDE and the SDK. You can't download one without the other.
Edit: someone may know a way involving copying files from one later XCode installation to an older one, that seems feasible.

Where can I download an earlier version of iOS for backwards compatibility testing?

Does anyone know where I can download iOS version 3.1.3?
I've been searching on developer.apple.com but haven't been able to find anything.
I know that it is possible to install earlier versions of iOS using organiser (I believe the file extension for the iOS images is ipsw)
Seems like you can at least download them from Apple, though I'm having trouble installing. I believe each piece of hardware has it's own build. Here's a link for 3.1.3 for a 3G iPhone.
More generally, iClarified has a list for all firmware updates. Why this list isn't on apple.com in an obvious place utterly eludes me.
Also found you can download them here - http://www.downloadios.net
Though installing them is another question - Downgrading iOS / Upgrading to version not the most recent

Running an older iOS version in the iPhone simulator

I want to test my application on older iOS versions. I am using weak linking for new frameworks and branches in the code for different OS version. But after some complaints from users running iOS 3.1.2, I need to do some testing myself. I don't have a separate iPhone for every iOS version.
So, how can I run an older version of iOS in the iPhone simulator?
That's a really basic question and there might be a duplicate somewhere, but I wasn't able to find it. Any help is much appreciated.
If you can download (or have a backup of) the older SDK that relates to the older OS you want to run on, I believe the general advice is to install the other SDK to a different path (say, Developer/olderSDK and this way you can have both SDK's (and simulators) installed side by side.

Developing for 2.2.1 SDK on Snow Leopard

I’ve installed Snow Leopard, have Xcode 3.2 and 3.0 iPhone SDK. I want my applications to run on 2.2.1, but the SDK is nowhere to be found in Xcode. I’ve set the deploy target to 2.2.1, but still I cannot be sure I am not using any 3.0-isms. (I’ve sent a sample application to my friend who still has 2.2.1 and it does not run, so it looks I really do use some 3.0 specific API.) How can make sure that my applications will run on 2.2.1? (Simulator also lists only 3.0 as version option.) I’d hate to check my sources manually for every call that might not have existed in 2.2.1.
See my question.
However, I think this is a bad situation that Apple has created for us. There really is no way to test against 2.x.x, if you, like me, have no iPhone 2.2s to test against. I actually bought a new 3Gs just so I could use the old 3G for testing. Stupidly though, when iTunes came up one day and asked if I wanted my phone updated to 3.0.1, I said yes, without realizing which phone I was updating.
I have tried, to no avail, to downgrade to 2.2.1, doing all the things like holding the home button and power for 10 seconds, etc., but I keep getting a baseband loading error.
I know Apple is trying hard to push everyone to 3.0, but not having the stats on how many users are still on the older OS, it seems prudent to keep supporting that OS. They should at least have kept 2.2.x support for the Simulator. I hate to release a 2.2.1 app based on whether I think I am using 3.0 calls or not, without actually testing it on 2.2.1.
OK, SDK 3.1 was released yesterday (September 9) and also contains SDK 2.2.1. You cannot build for the Simulator, only for the device, but most of the glaring 3.0-isms will appear as compile errors, which makes testing much easier.
Uninstall the SDK or Developer folder completley.
using Terminal execute: /Library/uninstall-devtools --mode=all, then restart, re-install new SDK.

iPhone SDK 3.0 Targetting 2.2.1 SDK

Just got the latest beta for iPhone SDK up. This is the update for the upcoming 3.0 release of the iPhone SDK. Unfortunately, I'm not getting a bunch of errors for targetting the 3.0 platform. This is nice to know for me to mark future work, but I need to get some other stuff done first. Unfortunately, the "target" field no longer shows me the 2.2.1 SDK, and defaults to 3.0, resulting in a myriad of errors that I'd like to fix later.
What actions should I follow to fix this? I've already tried changing the default base SDK in the properties for the project to no avail. Does installing 3.0 basically remove the 2.2.1 SDK?
Thanks in advance.
Figured it out. The error I was getting occurs for a beta build so this probably shouldn't be a persistent solution, but if anyone else is having trouble with trying to use the latest beta of XCode+iPhone0S3 installation, you will find that you can only target the 3.0 OS after you select it in the Overview dropdown. Even if you were targetting a different active SDK previously, they will all be gone as soon as you select the 3.0 target.
The way to fix this problem is to just delete all the user-specific project files and to reopen the project. Before that, make sure the base SDK is 2.2.1, etc.
This is a lot easier than downloading the 2GB stable XCode just to target the previous SDK.
Hope this helps someone.