swagger-api / swagger-api/swagger-codegen

Travis CI tests broken due to change in MacOSX image

Open
#6,658 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Swift Issue: Non-operational
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Travis CI tests broken due to change in MacOSX image. The error message is as follows:

❌ “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

▸ Building Pods/RxSwift [Debug]
▸ Check Dependencies

❌ “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

Testing failed:
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** TEST FAILED **

The following build commands failed:
Check dependencies
Check dependencies
(2 failures)

For full log, please visit https://travis-ci.org/swagger-api/swagger-codegen/builds/286084607

Swagger-codegen version

Latest master

Suggest a fix/enhancement

Nothing changed in our end. The error is due to changes in the build environment.

We may want to try using another build image xcode9.1 to test instead.

Ref: https://docs.travis-ci.com/user/languages/objective-c/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Travis CI configuration and the linked build log, then check which macOS/Xcode image is used for the Swift targets. Test the proposed xcode9.1 image, or the project's supported alternative, and confirm that the Travis job completes without the SWIFT_VERSION dependency errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.