2016-03-30 21 views
0

は、ブレーントリーの統合は私のために働いていない。エラーiOSアプリでブレインSDKを実装しながら、(SWIFT 2.2/Xcodeの7.3)

私はブレインツリーガイド(https://developers.braintreepayments.com/start/hello-client/ios/v4)を使用して実装していますSDK for iOS 9.2(Xcode 7.3、Swift 2.2)

  1. 私は正常私はuse_frameworksを追加しましたブレーントリーポッド
  2. をインストール!私のポッドファイル
  3. 文は私のViewController

インポートブレインを追加しました...と私はシミュレータをしようとすると、その後すべてがうまくいかない:

(1)

*error: /Users/Rob/Library/Developer/Xcode/DerivedData/Test- anaajuuxtxcuorcukyrbchlrbqed/Build/Products/Debug-iphonesimulator/Braintree/Braintree-Drop-In-Localization.bundle: No such file or directory 

(2)

error: /Users/Rob/Library/Developer/Xcode/DerivedData/Test-anaajuuxtxcuorcukyrbchlrbqed/Build/Products/Debug-iphonesimulator/Braintree/Braintree-UI-Localization.bundle: No such file or directory 

(3)

No such module 'Braintree'* 

編集:(私はあなたがuse_frameworksを使用する場合は1を必要としないガイドに基づいて仮定が!)私は橋のヘッダを追加することにより、(3)に固定

私は、ビルド・フェーズで追加のエラーを参照してください。

*diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null 
if [[ $? != 0 ]] ; then 
    cat << EOM 
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 
EOM 
    exit 1 
fi* 

(私はCocoaPodsを更新し、「ポッドのインストール」でしたが、その作業はありません)

助けが必要ですか?

ベスト、

ロブ

答えて

0

私は、これはthis issueに基づいてCocoaPods 1.0.0ベータ6、との問題だと思います。私は1.0.0ベータ5に戻すことでこの問題を回避することができました。それが問題を解決するかどうか教えてください。

+1

これが解決しました - ありがとう! – Robski18

関連する問題