1
2

More than 3 years have passed since last update.

'Showing Recent Issues SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0.'について

Posted at

久しぶり以前作成したSwiftのソースコードを開いたら、下記のエラーが発生しましたので、
対処方法を明記いたします。
※情報の判断はご自身の責任でお願い致します。

Showing Recent Issues SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0.

環境:
Xcode11.3

原因:
原因といたしましては、Swiftのバージョンの違いによるものです。

対応方法:
使用しているSwiftのコードを最新にする必要があります。

project File → Build Phases → Swift Language Version
内のversionを任意のものにする必要があります。
capture.png

※注意点としましては、Target,Project内のものを全てのバージョンを変更する必要があります。

以上となります。🦔

1
2
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
1
2