# "The ”Swift Language Version” (SWIFT\_VERSION) build setting must be set to a supported value"

**URL:** <https://travis-ci.community/t/the-swift-language-version-swift-version-build-setting-must-be-set-to-a-supported-value/12357>\
**Category:** macOS\
**Tags:** travis-build\
**Created:** [November 6, 2021, 10:56pm UTC](https://travis-ci.community/t/the-swift-language-version-swift-version-build-setting-must-be-set-to-a-supported-value/12357 "2021-11-06T22:56:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amralkhayat](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/amralkhayat/32/7386_2.png) [@amralkhayat](https://travis-ci.community/u/amralkhayat)\
**Post date:** [November 6, 2021, 10:56pm UTC](https://travis-ci.community/t/the-swift-language-version-swift-version-build-setting-must-be-set-to-a-supported-value/12357/1 "2021-11-06T22:56:36Z")

</div>

Hello everyone ,

I am trying to run my project using travis ci and GitHub , and this is first time use Travis CI. show me this error like in the image.

- My YML File

```auto
os: osx

osx_image: xcode 13.1

language: swift

script: xcodebuild clean build test -project EssentialFeed.xcodeproj -scheme "CI" CODE_SIGNING_IDENTITY="" CODE_SIGNING_REQUIRED= **NO**

```

- Xcode version is 13.1
- Mac OS target is 11.5
- Swift version is 5

The error is: “The ”Swift Language Version” (SWIFT\_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor."

 ![Screen Shot 2021-11-07 at 12.52.00 AM](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/f/f91f9f08c561522cd8149ce62de918e4a50d0d7b.png)

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [November 7, 2021, 7:54am UTC](https://travis-ci.community/t/the-swift-language-version-swift-version-build-setting-must-be-set-to-a-supported-value/12357/2 "2021-11-07T07:54:26Z")

</div>

According to [ios - Xcode 9 Swift Language Version (SWIFT\_VERSION) - Stack Overflow](https://stackoverflow.com/questions/46338588/xcode-9-swift-language-version-swift-version), this error means that your version of Swift isn’t supported by this version of XCode.

Indeed, according to [Xcode - Support - Apple Developer](https://developer.apple.com/support/xcode/), XCode 11.3 supports Swift 4, 4.2 and 5.5.
