does not specify a Swift version and none of the targets integrating it have the `SWIFT_VERSION` attribute set.
[!] Unable to determine Swift version for the following pods:
- `HandyJSON` does not specify a Swift version and none of the targets (`XPX` and `XPXTests`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.
解决:
在项目Build Setting中添加SWIFT_VERSION,如下图:
同时podfile中,在target上设置
ENV['SWIFT_VERSION'] = '5.0'
结果: