xcode编译目标设备配置

Reference: http://stackoverflow.com/questions/3677487/install-xcode-3-2-4-get-base-sdk-missing

Edit Project Settings

  1. Load your project
  2. From the menu, select Project > Edit Project Settings...
  3. Click the "Build" tab.
  4. Under "Configurations" select "All Configurations".
  5. Go to the Change Base SDK section below.

Edit Specific Target/Configuration Settings

  1. Load your project
  2. From the menu, select Project > Active Target > "YourTarget"
  3. From the menu, select Project > Edit Active Target "YourTarget"
  4. Click the "Build" tab.
  5. Under "Configurations" select "All Configurations", or the Configuration you want.
  6. Go to the Change Base SDK section below.

Change Base SDK

  1. Under Architecture > Base SDK, choose one of the available device options: iOS Device 3.2 or iOS Device 4.1. If you are iPhone-only, 4.1 is the way to go.
  2. If you want to target previous iOS versions, then in that same window, under Deployment > iPhone OS Deployment Target, select the lowest version you want to support. Note that support for 2.x versions through the app store is deprecated.

The Explanation

iOS SDK 4.0 is gone in this release, replaced by iOS SDK 4.1. This is very similar with what happened with the 3.2.3 upgrade, which I covered in detail here . You can still use 3.2.4 to target iOS versions down to 3.0, but AFAIK, you must compile against the 4.1 SDK with Xcode 3.2.4. If this statement confuses you, study the following sentence closely:

The iOS SDK you compile against -- the "Base SDK" -- does not downward limit what iOS versions you can support.

In fact, there are two different settings, cf. Change Base SDK above. If you remain confused, take heart, and read my detailed post on the previous switchover, which is itself chockablock with links to good stuff.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值