Value for SWIFT_VERSION cannot be empty

Kumaraprasad picture Kumaraprasad · Oct 23, 2018 · Viewed 39.5k times · Source

I have installed swift pods for the obj c project. I got this error when I was trying to build it.

enter image description here

I have gone through all the solutions like deleting derived data, cleaning the build folder. Swift Compiler_Language also missing in the XCode 10. Added user-defined setting too, even it didn't work.

Answer

Ratul Sharker picture Ratul Sharker · Oct 23, 2018

Select your app target then goto build setting, search for swift set the swift language version from the dropdown.

enter image description here