swift pod安装
昨天新建了个项目安装的时候,还是InfoDictionary version: 6.0Bundle versions string, short:15.0.0
今天新建了个项目,安装时却成了InfoDictionary version: 6.0Bundle versions string, short:11.0.1
使用代码里报:LCApplication找不到结构也完全不一样是不是你们Pod出问题了?
请问 Podfile 文件中是怎么写的?
pod 'LeanCloud'
我是leancloud老用户,三十多个项目都接入过了,其实20多个swift项目,一样的流程,从未出现过这样的情况,昨天都还是OK的
pod 更新过程中是否有报错信息?
建议您指定版本号再试试。
pod install 安装失败了,上图红色的报错提示完整的粘贴看一下。
☁ Kill vs Monster pod install Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "LeanCloud": In Podfile: LeanCloud (~> 16.0.0-beta.5) Specs satisfying the `LeanCloud (~> 16.0.0-beta.5)` dependency were found, but they required a higher minimum deployment target. [!] Automatically assigning platform `ios` with version `9.0` on target `Kill vs Monster` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`. ☁ Kill vs Monster pod install Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "LeanCloud": In Podfile: LeanCloud (~> 15.0.0) Specs satisfying the `LeanCloud (~> 15.0.0)` dependency were found, but they required a higher minimum deployment target. [!] Automatically assigning platform `ios` with version `9.0` on target `Kill vs Monster` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
您好,这是因为目前最新版的 SDK 支持的 iOS 最低版本是 10.0,您设置的是 9.0,所以 Pod 安装出现了错误。
我们会在下周发布 16.0.0 的正式版,正式版支持的 iOS 系统最低为 8.0,建议您在下周安装 16.0.0 正式版后再支持 9.0 的系统,现在先把 iOS 的版本号设置为 10.0 吧。
好的,可以了