eggswift / pull-to-refresh

#Busy Re-Building....# An easy way to use pull to refresh and infinite scrolling in Swift. Pod 'ESPullToRefresh'
MIT License
1.82k stars 253 forks source link

【问题】建议 #174

Closed gzhongcheng closed 3 years ago

gzhongcheng commented 4 years ago

目前版本的代码在Pod库配置为Swift4.0时会报错, 请在podspec文件中添加下面的代码指定为Swift5可消除错误:

s.swift_version = "5.1"
EngineHG commented 4 years ago

image 目前项目是swift是5,pod下来的时候会报这样的错误,楼上的建议应该是可以解决这个问题