0
私はcocoapodsを使用してBraintree SDKをインストールしようとしています。 pod 'Braintree'
カカオポッドを使ってBraintreeを正しくインストールする方法は?
ターミナルを設置するなど、以下の内容を示しています - - は、これは私がインストールするために使用するものである
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-
# 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
を確認 -
/Users/username/.rvm/gems/[email protected]/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
あなたのワークスペースでプロジェクトを開いたことは確かですか? – Happiehappie
また、これらの状況では、使用しているcocoapodsのバージョンに気づくのに役立ちます – Happiehappie
はい私はワークスペースを通してプロジェクトを開いた。 – icodes