Value for SWIFT_VERSION cannot be empty. November 6, 2019 By Ravi Shankar Leave a Comment This error occurs when the Swift version is not specified under Swift Compiler Languge for your project. All you need to do is, Navigate to Build Settings -> Swift Compiler Language, from the drop down specify the Swift version.