首先:官网cocoapods安装SDK的文档
![](https://img.haomeiwen.com/i2008394/1e5f14e19515ad41.png)
配置的时候出现问题了
[!] Unable to satisfy the following requirements:
- `UMengSocialCOM (~> 5.2)` required by `Podfile`
None of your spec sources contain a spec satisfying the dependency: `UMengSocialCOM (~> 5.2)`.
You have either:
* out-of-date source repos which you can update with `pod repo update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
用终端查询,结果如下(cocoapods最新版本5.1.0,好吧,可能是cocoapods没有及时更新)
-> UMengSocialCOM (5.1.0)
UMeng's official Social SDK for iOS.
pod 'UMengSocialCOM', '~> 5.1.0'
- Homepage: http://dev.umeng.com/social/ios/quick-integration
- Source: http://dev.umeng.com/files/download/Umeng_SDK_Social_iOS_ARM64_5.1.zip
- Versions: 5.1.0, 5.0 [master repo]
(END)
iOS9系统适配问题(HTTP传输安全和应用跳转问题)
网友评论