Search code examples
swiftxcode10

Value for SWIFT_VERSION cannot be empty


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.


Solution

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

    enter image description here