首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用可可pod正确安装Braintree?

如何使用可可pod正确安装Braintree?
EN

Stack Overflow用户
提问于 2016-07-15 16:31:48
回答 1查看 591关注 0票数 0

我正在尝试使用cocoapods安装Braintree SDK。这是我用来安装的- pod 'Braintree'

安装终端时显示内容如下:

代码语言:javascript
复制
Installing Braintree (3.1.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `NewTest.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total
pod installed.

[!] Can't merge user_target_xcconfig for pod targets: ["Braintree", "Drop-In", "PayPal", "UI", "api"]. Boolean build setting GCC_TREAT_WARNINGS_AS_ERRORS has different values.

[!] Can't merge user_target_xcconfig for pod targets: ["Braintree", "Drop-In", "PayPal", "UI", "api"]. Boolean build setting GCC_TREAT_WARNINGS_AS_ERRORS has different values.

安装完成后,如果我执行#import <BraintreeCore/BraintreeCore.h>,我会得到同一语句的文件未找到错误。

这是我的Podfile-

代码语言:javascript
复制
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

target 'NewTest' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!

pod 'Braintree'
# Pods for NewTest

end

我还检查了pod --version,它显示-

代码语言:javascript
复制
/Users/username/.rvm/gems/ruby-2.2.5@global/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:140: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
1.0.1
EN

回答 1

Stack Overflow用户

发布于 2016-07-15 20:58:51

似乎我的cocoapods没有下载正确的version.Rest配置是正确的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38391469

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档