views:

276

answers:

1

I am interested in testing my current iPhone app against an older version of the SDK (3.1.3). I know that I can compile my code to run on this version of the SDK, but I want to test it to make sure it still works since I am using newer APIs and using weak linking so that it will continue to work on older iOS versions. Ever since upgraded XCode to the latest version, iOS 3.1.3 is not an option to run in the iPhone Simulator. So I downloaded an older version of XCode and installed it side-by-side my current version in the folder /Developer/XCode Old. But when I try to compile my code and run it in the older version of XCode, it chokes on the fact that the SDK doesn't recognize the symbols for the newer classes - even though they are weak linked. Is there a way to get my app to run in the older SDK, so I can check that it's working?

I have also tried to downgrade the iOS on my testing iPhone but it has not worked. Apple, I guess, makes it very hard to downgrade the iOS. ANd i'm not interested in jailbreaking my iPhone to allow me to downgrade it to allow me to test it. Why does Apple make it so hard to keep your apps compatible with older versions of the OS??

A: 
tc.