Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
boai opened this issue Jun 6, 2018 · 2 comments

Comments

@boai
Copy link

boai commented Jun 6, 2018

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.

@felixdkatt
Copy link

This is most likely another pod's fault. SWTableViewCell is an Objective C library so it shouldnt be triggering it. When i installed my version of this i got the same error but it was from another library STRatingControl.

add this to your pod file or in the build settings add the SWIFT_VERSION = "your version of swift"

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end

@piaojin
Copy link

piaojin commented Sep 1, 2018

1.create a swift file and create SWTableViewCell-Bridging-Header.h file.
2.set all of 'Build Settings''s 'Swift Language Version' to new Swift version (include Pods's Build Settings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants