我pod install
在更新后运行Podfile
,LeanCloud
没有安装 pod,我收到以下消息:
分析依赖关系 [!] 只有满足以下要求的预发布版本可用:
'LeanCloud', '>= 0'
您应该明确指定版本以安装预发布版本
这是我的Podfile
样子:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'todolist' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for todolist
pod 'Alamofire'
pod 'SwiftyJSON'
pod 'LeanCloud', '>= 0'
end
我在 macOS 10.12.3 上运行,Cocoapods 版本 1.2.0