Xcode 4.3: How to install earlier SDKs?

It could be a duplicate. Is there a way to install older iOS SDKs in Xcode ? I'm not interested in backward compatibility, I'm just trying to use Apple samples.

Apple Quartz Demo does not work under Xcode 4.3.1 (4E1019) using the iOS 5.1 SDK. iOS 5.1 is the only base SDK. The deployment target is 3.2, and I tried to compile with LLVM-GCC and LLVM-3.1.

From the settings โ†’ Downloads, I believe that I have all the components and documentation installed by Xcode. Unfortunately, I do not see any mobile libraries except iOS 5.1.

How to install earlier iOS SDKs so that I can continue to use Apple Demos? Or is it more an apple alpha / beta package that should never have been released for general consumption?

Jeff

+4
source share
1 answer

It is much easier to fix this code example. Here is what I did:

  • Download the code and open QuartzDemo.xcodeproj
  • View> Navigators> Show Problem Navigator.
  • Click Check Project Settings in the first release. Then do โ€œMake Changesโ€ and โ€œDisableโ€ snapshots.
  • In AppDelegate.m, comment this line:

    @property (non-nuclear, readwrite, save) Window UIWindow *;

  • Build and run.
+5
source

Source: https://habr.com/ru/post/1401960/


All Articles