flutter_open_appstore icon indicating copy to clipboard operation
flutter_open_appstore copied to clipboard

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.

Open aleaforny opened this issue 5 years ago • 7 comments

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 https://github.com/flutter/flutter/issues/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 https://github.com/flutter/flutter/issues/16049#issuecomment-552060349 for the complete fix example.

For now, I've just found a workaround, you can find my experience: https://github.com/flutter/flutter/issues/16049#issuecomment-557917293

Thanks

aleaforny avatar Nov 24 '19 19:11 aleaforny

Thank you for sharing your experience. I'll check and update it!

songyiYu avatar Nov 25 '19 06:11 songyiYu

Same problem Flutter v1.12.16

blade254353074 avatar Dec 27 '19 09:12 blade254353074

the same

ivanesi avatar Jan 16 '20 10:01 ivanesi

@songyiYu any update on this?

nerder avatar Mar 08 '20 18:03 nerder

Made an update yesterday, issue still occurs for me @songyiYu Any update?

aleaforny avatar Dec 21 '20 09:12 aleaforny

@songyiYu Any update on this? And also to support null safety release? Does this package still up to date?

aleaforny avatar Mar 26 '21 14:03 aleaforny

@songyiYu Still any updates?

aleaforny avatar Jun 25 '21 11:06 aleaforny