[!] 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'
use_frameworks!
结果:
标签:none,set,attribute,VERSION,version,SWIFT,targets From: https://www.cnblogs.com/lulushen/p/17027397.html