Cocoapod方式引入百川SDK -报错[!] Unable to find a specification for `xxx`
2017-10-23 15:25
393 查看
[cocopad集成百川sdk官网]
iOS需要填写BundleID 。BundleID要是当前应用的BundleID。勾选淘宝登录基础包下载SDK。
注意事项:将下载的SDK中的身份图片yw_1222.jpg 复制到xcode工程下,并copy到BundleResources里,注意不能改名。
(http://baichuan.taobao.com/docs/doc.htm?spm=a3c0d.7629140.0.0.PBhLl7&treeId=129&articleId=105648&docType=1)
方式一: Cocoapod方式引入百川SDK 上
cocoapods 官方source是隐式的需要的,一旦你指定了其他source 你就需要也把官方的指定
请先添加百川的源
pod repo add AliBCSpecs http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git
然后在你工程的Podfile添加(具体版本以百川开发者网站为准)
source ‘http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git’
pod ‘AlibcTradeSDK’
此时注意确保声明
source ‘https://github.com/CocoaPods/Specs.git’
即:
source ‘http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git’
source ‘https://github.com/CocoaPods/Specs.git’
pod ‘AlibcTradeSDK’
iOS需要填写BundleID 。BundleID要是当前应用的BundleID。勾选淘宝登录基础包下载SDK。
注意事项:将下载的SDK中的身份图片yw_1222.jpg 复制到xcode工程下,并copy到BundleResources里,注意不能改名。
(http://baichuan.taobao.com/docs/doc.htm?spm=a3c0d.7629140.0.0.PBhLl7&treeId=129&articleId=105648&docType=1)
方式一: Cocoapod方式引入百川SDK 上
[!] Unable to find a specification for `xxx`
cocoapods 官方source是隐式的需要的,一旦你指定了其他source 你就需要也把官方的指定
请先添加百川的源
pod repo add AliBCSpecs http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git
然后在你工程的Podfile添加(具体版本以百川开发者网站为准)
source ‘http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git’
pod ‘AlibcTradeSDK’
此时注意确保声明
source ‘https://github.com/CocoaPods/Specs.git’
即:
source ‘http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git’
source ‘https://github.com/CocoaPods/Specs.git’
pod ‘AlibcTradeSDK’
相关文章推荐
- 在cocoapods更新出现提示 Unable to find a specification for `xxxxx` Pod的目录清理一下就行了
- pod install或update 提示 [!] Unable to find a specification for xxxx
- CocoaPods报错:[!] Unable to find a specification for xxxx
- Unable to find a specification for `Masonry`
- pod install 出现 Unable to find a specification for `xxxxx` 解决方案
- 使用CocoaPods过程中 Unable to find a specification for
- Unable to find any test data conversion strategy for parameter with name ArrayList<XXX>
- Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方式
- cocoapod升级的坑 && pod search :Unable to find a pod with name
- cocoapods 使用时一个问题 (Unable to find a specification for `CYLTableViewPlaceHolder`)
- swift 安装cocoapods管理第三方库时会出现:Unable to find a specification for `XXXXXX`
- Unable to find a specification for `xxxxx` 的问题
- "BEA-000450" "Unable to find internal data record for the socket"
- 单点登录(十一)-----遇到问题-----cas启用mongodb验证方式报错--Unable to locate Spring NamespaceHandler for XML schema na
- Git出现fatal: Unable to find remote helper for 'https'
- [转]【android studio】解决layout预览出现Rendering Problems Exception Unable to find the layout for Action Bar.
- Solution for "De-serialization exception: Unable to find assembly xxxxx"
- Unable to find a value for "字段名" in object of class java.lang.String using operator "."
- 解决NVelocity加载模板时出现Unable to find resource"xxx"错误
- 单点登录(十一)-----遇到问题-----cas启用mongodb验证方式报错--Unable to locate Spring NamespaceHandler for XML schema na