HOME > > [Xcode8]The following binaries use incompatible versions of Swiftのエラーが出る

[Xcode8]The following binaries use incompatible versions of Swiftのエラーが出る

事象

Xcode8でSwift3に対応したプロジェクトをRunしたら下記のエラーがでました。

The following binaries use incompatible versions of Swift

環境

  • Xcode 8.1
  • Swift 3.0

回答

どうやら今までSwift2.3で開発していたプロジェクトをXcode8で機能追加する場合にこのエラーが出るようです。

You can also get this problem, if you have the scenario of your container app’s code is Swift 2.3 and you’re creating a new extension in Xcode 8.

Xcodeプロジェクトを再起動してクリーン(command + k)したらエラーが改善しました。

参考記事

http://stackoverflow.com/questions/38793192/xcode-8-beta-4-build-fails-with-the-following-binaries-use-incompatible-versio