ERROR | swift: Specification AwesomeEnum specifies an inconsistent swift_version (5.0) compared to the one present in your .swift-version file (4.2). Please remove the .swift-version file which is now deprecated and only use the swift_version attribute within your podspec.
and bumped pod version to 2.2.1.
Pod spec failed validation with this error