LoginSignup
7
8

More than 5 years have passed since last update.

OS X targets using Swift cannot be built against an SDK older than 10.10, but the effective SDK is 10.9.

Last updated at Posted at 2014-09-20

======================

問題

Xcode6の正式版がAppStoreでリリースされたのでアップデートしたのですが、OSX用に書いていたSwiftコードがコンパイルできなくなってしまいました。

どうやらv6.0.1のXcodeではyosemite v10.10のSDKが含まれていないようです。

OS X targets using Swift cannot be built against an SDK older than 10.10, but the effective SDK is 10.9.

解決策

以下のリンクよりXcode6.1Betaをダウンロードします。

ダウンロードしたXcode6.1Betaのdmgをマウントすると、MacOSX10.10.sdkのフォルダが以下のパスにあります。

/Volumes/Xcode/Xcode-Beta.app/Contents/Developer/Platforms/Developer/SDKs/

このMacOSX10.10.sdkのフォルダを、以下のパスにコピーします。

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

参考

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8