LoginSignup
1
0

More than 5 years have passed since last update.

podfileのビルドで「(SWIFT_VERSION) build setting must be set」エラーが出るときの対処法

Last updated at Posted at 2017-11-25

podfileを使ったプロジェクトのビルドで、以下のエラーが出ました。

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.

podfileの先頭に以下を記述して対応しました。

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
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0