美文网首页
记录一下集成友盟分享的时候遇到的坑

记录一下集成友盟分享的时候遇到的坑

作者: 行者栖处 | 来源:发表于2016-05-19 22:45 被阅读2149次

首先:官网cocoapods安装SDK的文档

Snip20160519_3.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传输安全和应用跳转问题

相关文章

网友评论

      本文标题:记录一下集成友盟分享的时候遇到的坑

      本文链接:https://www.haomeiwen.com/subject/tewgrttx.html