How to add base SDK for 10.5 in xCode 4

前端 未结 2 1481
慢半拍i
慢半拍i 2020-12-08 06:58

I\'ve installed xCode 4 last night and tried to compile a software which should support 10.5 and above OSs.

It gave the error message \"Base SDK missing\". I found t

2条回答
  •  眼角桃花
    2020-12-08 07:25

    Dropping the 10.5 SDK is also a problem for software which does not use Xcode for the build system, but expects (perhaps foolishly) for specific SDKs to be in place.

    To add the SDK back, I re-installed the MacOSX10.5.pkg from the Xcode 3.2.6 download. It is in a hidden folder named "Packages" on the disk image. After mounting the .dmg file, you can open it from the command line with open /Volumes/Xcode\ and\ iOS\ SDK/Packages/. When installing the package, choose change install location and option-click on the drive you want to install to, so that you can specify a folder. The target folder should be /Developer or the base of your Xcode 4 install if you have put it in a non-standard location.

提交回复
热议问题