0

recently I install the alamofire and GooglePlaces pod in my swift project for google autocomplete places in my application and I get the error that is -

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.

enter image description here

Blazej SLEBODA
  • 8,936
  • 7
  • 53
  • 93
coceki
  • 173
  • 10
  • What's your "XCode version", it should defines which Swift version it supports. Since I guess you didn't defined a specific version for Alamofire, get the version that's compatible with your Swift version. – Larme Mar 25 '21 at 07:20
  • @Larme Xcode version is 9 - "when I set the swift version 3.2 or 4.0 for Alamofire it gives me multiple errors approx 70 errors – coceki Mar 25 '21 at 07:30

1 Answers1

0

Try this - Remove all pods from your project, --no-integrate, Now change your swift version (like 4.2), Add the pod and install.

Vineet Rai
  • 80
  • 7