编译旧版本的Mac OS X [英] Compiling for older versions of Mac OS X

查看:151
本文介绍了编译旧版本的Mac OS X的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始为Mac生产应用程序,在我最近的版本中,我得到了压倒性的建议,让我的应用程序在OSX 10.5上工作,我正在编译10.6。

I have recently started producing applications for the Mac, on my most recent release I got overwhelming suggestions to get the app working on OSX 10.5 as I'm working in and compiling for 10.6.

我试图寻找10.5 SDK,但找不到任何地方下载!我如何使用Xcode 2.2编译我的应用程序的旧版本的Mac OS X并在10.6中开发?

I tried looking for the 10.5 SDK but couldn't find it anywhere to download! How can I go about compiling my app for older versions of Mac OS X using Xcode 2.2 and developing in 10.6?

编辑:------
我会提到我没有选择不同的SDK,因为我没有安装任何其他的选项,我的问题是更不能找到在哪里得到这些sdks?那么实际上不知道如何编译旧的sdks

------ I will mention I don't have the to option to select different SDKs as I don't have any others installed and my problem is more not being able to find where to get those sdks from? then actually not know how to go about compiling for the older sdks

推荐答案

http://developer.apple.com/mac/ 。然后,运行安装程序,当您进入标准安装屏幕,而不是按继续,请按左下角的自定义。您应该可以选择安装MacOSX10.5.sdk以及MacOSX10.4u.sdk。

Redownload the entire Xcode Tools packages from http://developer.apple.com/mac/. Then, run the installer, and when you get to the screen that says "Standard Install", instead of pressing Continue, press Customize in the bottom left-hand corner. You should have the option to install MacOSX10.5.sdk as well as MacOSX10.4u.sdk.

这篇关于编译旧版本的Mac OS X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆