iOS Build issue: Value for SWIFT_VERSION cannot be empty

I am trying to build an ios app using ionic appflow. Its breaking with message:

“error: Value for SWIFT_VERSION cannot be empty. (in target ‘App name’ from project ‘App name’)”

Could any one help

did you resolve your issue ?


This issue could be related to any older plugins that require a specific version of SWIFT_VERSION. It would be helpful to evaluate your plugins for any such.

If you are using Cordova, you can also set preference In your config.xml .

 <platform name="ios">
        <preference name="UseSwiftLanguageVersion" value="5" />

If you are facing any further issues, I would encourage you to contact the Appflow support for further assistance.


1 Like