Skip to content

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. #21

Description

@aleaforny

I'm facing this issue when trying to compile ios version of my Flutter app (it's an Objective-C project) with flutter app build

I'm getting the following error:

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.

This has probably something to do with issue flutter/flutter#16049 , and I guess the solution would be to edit the file flutter_open_appstore.podspec and add the following:

s.swift_versions = ['4.0', '4.2', '5.0']

Please see flutter/flutter#16049 (comment) for the complete fix example.

For now, I've just found a workaround, you can find my experience: flutter/flutter#16049 (comment)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions